Java Content Assist pluginstopped/unloaded(?) when debugging it

Answered

I'm creating a plugin, which adds some addiditional propsals to the Java language, but faced a problem, when debugging it. After I art an IDE (using Gradle 'runIde' task) and called it once or twice - I see "Indexes reloading" message in the status line below, and my plugin's CompletionContributor stops to get called, even it's fillCompletionVariants method.I don't see any exceptions/mesages in a log for this. Built plugin behaves fine and isn't get stopped.

Disabled ProcessCancelledException when on debug, but that didn't help.

Why could this happen, is there some way to diagnose/disable this stopping? It's really annoying behaviour.

 

0
5 comments
Avatar
Permanently deleted user

Disabled it, and now works fine. Thanks alot!

0
Avatar
Permanently deleted user

Unfortunately it looks like problem reappeared for me. I've updated to IC 2020.2 some time ago, and it appeared working for about a week or two, and now looks broken again.

 

I'm using the following way to set the necessary flag in the build.gradle:

 

tasks.withType(RunIdeTask) {

 

systemProperty('idea.auto.reload.plugins', 'false') ...

It would be not a big deal, if it would just reload, but unfortunately it just appears to be dead until IDE restart.

Tried registering DynamicPluginListener - it's called with isUpdate set to true, but it didn't make the reason cleaner for me.

 

Please help

BR, Dmitry

0
Avatar
Permanently deleted user

Sorry, please disregard. Another contributor switched IntelliJ ver to 2020.1, bringing back https://github.com/JetBrains/gradle-intellij-plugin/issues/476 , which seems to be a root of evil in my case)
Thanks for help!

0

Please sign in to leave a comment.