My questions is: is there a suitable Content Assist for .gradle files for Eclipse?
The short answer is no. As far as I know, there is nothing.
The new BuildShip plugin does not provide editor support, and as far as I know, they have no plans in the near future to work on this.
Plugin
STS gradle had the option “Enable DSL support”, as you mentioned, but this option was removed because it was very limited in what it could actually do, and at the same time was a bit of a nightmare for maintenance.
Groovy Eclipse plugins provide some support for working with common .groovy code, but:
- no specific gradle support
- does not work with .gradle files, because it depends on the path to the project class, which does not match the classpath for building the script
- no longer supported by anyone.
There is one plugin that you can try. minimalist gradle editor . I have not tried this myself, and I don’t think it helps in the content, but this might be your best bet in getting a bit of support for editing .gradle files.
source share