Get GroovyDoc to appear in Grails project

     How do I configure IntelliJ to show me GroovyDoc for Groovy methods in a Grails project? I can get the groovy doc for groovy methods in a pure groovy project because I have a Groovy global library configured with javadoc configuration pointing at a directory I have installed the groovy documentation in. I don't see a way to associate Groovy documentation with the version of groovy that grails has (grails includes the groovy jar).

For example, this works when I am just doing groovy:

Screen Shot 2012-05-18 at 9.56.26 AM.PNG

For a groovy project I get docs for groovy methods:

Screen Shot 2012-05-18 at 10.11.48 AM.PNG

But I don't get the same thing in a Grails project:

Screen Shot 2012-05-18 at 10.14.33 AM.PNG

Can  anyone provide any insight?

2 comments
Comment actions Permalink

Does your Grails library contain this doc in either source or javadoc jars?

0
Comment actions Permalink

Peter, I copied the api docs for groovy 1.8.6 into the doc directory under my grails install and that took care of it. I am not sure if 1.8.6 is the version of groovy that grails 2.0.1 uses, but close enough.

0

Please sign in to leave a comment.