Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable gradle syntax highligting in Eclipse? [closed]

Tags:

I installed STS plugin which include a Gradle IDE, but it seems not helping much.

enter image description here

ADD 1

The effect with Buildship Gradle Integration's Gradle Build Script Editor:

enter image description here

like image 631
smwikipedia Avatar asked Nov 19 '15 14:11

smwikipedia


2 Answers

I use Groovy editor from Groovy-Eclipse plugin to edit Gradle files. Since Gradle is basically Groovy it works very well. The plugin is available in the Eclipse Marketplace and GitHub.

Buildship does not support source highlighting and probably never will due to planned transition from Groovy to Kotlin.

There is the following post in their forum: "this is planned to be supported by Buildship at some point in the future. But, we do not have this on our immediate road map".

like image 174
Sergey Avatar answered Oct 04 '22 11:10

Sergey


Use EGradle editor plugin - supports Syntax highlighting, code completion, error handling, and tool tip.

Install this plugin from market place:

https://marketplace.eclipse.org/content/egradle-editor

like image 42
Ianrakisa Avatar answered Oct 04 '22 12:10

Ianrakisa