Keeping tool window enabled while IDEA in "dumb" mode

The tool window button for my plugin becomes ghosted while IntelliJ is updating its indexes (dumb mode).  After indexing is complete, it becomes enabled. My plugin does not require any of the index data so I'd like it to be enabled during index operations (like Maven Projects and IDETalk are).

What is the magic for enabling this?

Thanks,
John Lindwall

1 comment

start by looking into com.intellij.openapi.project.DumbAware. Elements extending DumbAware do not need to wait for indexing to complete. You can use it for several components, like actions, inspections ...in your case for tool window factory.

0

Please sign in to leave a comment.