About add and remove MenuItem! Follow
Answered
I know that we can add new action to menu bar in a plugin.xml.
www.advancedmd.com
But is there any menu to add/remove in at run time?
Thanks in advance!!!
Please sign in to leave a comment.
com.intellij.openapi.actionSystem.ActionManager#unregisterAction
See https://plugins.jetbrains.com/docs/intellij/working-with-custom-actions.html#extending-the-update-method for setting availability dynamically at runtime.