Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get javadocs / groovydocs for groovy methods in an IntelliJ IDEA Grails project?

When working in a Grails project, I don't get any useful javadocs / groovydocs for the GDK methods that groovy adds to things like collections. Is there a way to do this, or is this something IntelliJ IDEA just can't do?

like image 845
cdeszaq Avatar asked Jul 31 '12 01:07

cdeszaq


1 Answers

Create global library groovy with javadocs pointing to api and gapi and add groovy global library to your grails module

sargis@sargis:~> ll $GROOVY_HOME/docs/html 
total 12
drwxr-xr-x 5 sargis users 4096 25 juil. 08:24 api
drwxr-xr-x 4 sargis users 4096 25 juil. 08:24 gapi
drwxr-xr-x 6 sargis users 4096 25 juil. 08:24 groovy-jdk
like image 59
Sargis Avatar answered Sep 29 '22 13:09

Sargis