Groovy code editor suggestions

I am trying to learn Grails. I am using the SpringSource matchbox. I expected to find code completion, syntax highlighting and more in the IDE. Nothing like this! Any tips?

+4
source share
6 answers

Have you enabled support for Groovy and Grails? This is not the default, but trivial to configure. See http://grails.org/STS+Integration/

+6
source

IntelliJ from JetBrains has all this and more . It's not free, but the price is worth it.

+2
source

If you are on a Mac, you can use TextMate and install Groovy / Grails . You will have code snippets, this is a kind of completion.

If you are running Windows / Linux / Mac, you can use Redcar , which was created for (and in) Ruby but has Groovy / Grails Support. It also has code snippets.

I highly recommend finding out that you are not using object validation and dynamic code completion in a dynamic language to avoid IDE dependency and dependency.

I personally prefer an unobtrusive code editor that allows you to directly process text code without interference, which allows us to make mistakes earlier and better understand the language (and structure). I use it even in production work.

+2
source

I second IntelliJ , but the free edition may be sufficient, it has groovy , although Grails support is only in the paid version.

+1
source

I am using IntelliJ Community Edition. As I see it, there are not many differences between free editors. At first glance, I use the IntelliJ community only because of its simple interface. It also supports syntax highlighting / code completion for groovy / java and some useful features like searching / switching to ...

In short, if you need full support, IntelliJ Premium is great, but you have to pay for it. For free relaxation, you can choose any editor you want.

+1
source

I am using IntelliJ Ultimate and this is the best way to go, but if you want a free solution, Netache 6.5 supports groovy / grails code highlight / Code completion natively and free.

0
source

Source: https://habr.com/ru/post/1332676/


All Articles