Conditional display of ExecutorAction

Answered

ExecutorAction.update() is not run when popup menu is displayed.

I don't want my action to be used for tests. How to achieve this?

0
1 comment

Hi Marcin,

I could find a way of disabling it. The actions are created here:
https://github.com/JetBrains/intellij-community/blob/dfa683d35b59941989c5cb19eea621364c71ddcf/java/java-impl/src/com/intellij/testIntegration/TestRunLineMarkerProvider.java#L116
It seems there is no extension point that would allow filtering this. If this is crucial for your plugin, I suggest creating an EP request at https://youtrack.jetbrains.com/issues/IJPL.

0

Please sign in to leave a comment.