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
Please sign in to leave a comment.
Please make sure that your groovy files are placed under module source roots
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
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.
Ah ha! Thank youI Yes indeed, the directory containing my Groovy files had somehow become "not-source"
Thank you very much
P