Plugin stopped working (debug and production)
I created a plugin that was working fine and doing what I wanted buy suddenly if I debug it or even if I deploy it and then try it it does nothing at all.. I click on it several times but it does nothing at all, no even show an error. Any idea on how to fix this?
Please sign in to leave a comment.
Hello Guilherme,
The plugin may not build. Did you check file creation time of the plugin file?
Did you try to open the plugin in debug mode? You should be able to hit a breakpoint.
It builds and it runs but it does nothing...
it is necessary to debug plugin code, I am afraid.
I thing upgrading IntelliJ IDEA to the newest version messed up the plugin, it doesn't find Java classes anymore with
so it does nothing at all. (processor is never called!!)
if
AllClassesGettergives problem, check these threads for alternative way to enumerate project files:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/207378145-Obtaining-java-files-in-source-root
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206101899-Getting-all-java-files-within-a-project
not sure how
PlainPrefixMatcherworks. You could try to subclass it and override
public boolean prefixMatches(@NotNull String name) {