My Groovy plugin just stopped working

Hello.  I'm not sure if I did something, or something got updated.

Groovy was working just fine for me last week, but now it it is not.

Files still get the Groovy Icon, and the Groovy Facet is still detected.  However, code reformating, debugger and running all seem to have gone away.  Code reformatting is offered but does nothing.  The debugger sets breakpoints but does not stop.  Running is no longer offered when I left-mouse-click in a Groovy file.

On the assumption that I did something, how do I reset the Groovy plugin?  Any other idea?

Thanks
Peter

4 comments
Comment actions Permalink

Please make sure that your groovy files are placed under module source roots

0
Comment actions Permalink

Hi, I'm not sure I understand your request.

My Groovy files are part of a module.  The module is created by Maven if that is important.

P

0
Comment actions Permalink

In module settings (Ctrl+Alt+Shift+S), on paths tab you can mark some folders in your module as source ones (blue). This is essential for Groovy code assistance to work.

0
Comment actions Permalink

Ah ha!  Thank youI  Yes indeed, the directory containing my Groovy files had somehow become "not-source"

Thank you very much
P

0

Please sign in to leave a comment.