Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use groovy style in IntelliJ IDEA 2016 Watches?

I've tried to use Groovy expressions when debugging Java code in IntelliJ IDEA 2016.1 Community Edition.

The description from Jetbrains provides the picture where it is possible to choose Groovy/Java.

The picture from Jetbrains

However I can't get, how to use it. My IDEA 2016.1 Community Edition looks like in the picture below.

My IntelliJ IDEA 16.1

Edit: I have groovy installed and I can use groovy Watches there. enter image description here

like image 518
Фима Гирин Avatar asked Oct 30 '22 07:10

Фима Гирин


1 Answers

You need to add groovy lib to the module dependencies. There's a request to skip this step in future: https://youtrack.jetbrains.com/issue/IDEA-153186

like image 73
Egor Avatar answered Nov 15 '22 04:11

Egor