How do I link the javadocs for grails or groovy to SpringSource Tool Suite. I want the relevant javadocs to appear when I hover over things. I've been searching for a while but can't find anything.
This is available in Groovy-Eclipse and should just be working. Try this:
add this text:
/**
* some javadoc
* @return Something
*/
def method() { }
method()
now, hover over the method reference or declaration.
It may be the case that you are failing to see javadoc on grails elements. This should be working too, but can be a little more finicky. In order for javadoc to work, the Grails tooling must be able to download the source of whatever library you are referencing. Most of the time, this just happens. But sometimes, you need to force it. You can do this by selecting your Grails project, and right-clicking (see image below).

Of course, it helps to make sure you have the latest Groovy-Eclipse and Grails-tooling installed (2.6.0 and 2.8.1 respectively).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With