How to extend editor popup menu?
Hi,
I need add custom item to the editor popupmenu. When I'm trying access this popupmenu result is allways null :(
editorMenu = (DefaultActionGroup)ActionManager.getInstance().getAction(ActionPlaces.EDITOR_POPUP);
This line is called when editor is opened (in fileOpened method of FileEditorManagerListener).
What's wrong?
Thank you
-- likeapear
Please sign in to leave a comment.
I'm very sorry. Invalid actionId (must be "EditorPopupMenu")
Mistake on developer side again :)
-- likeapear
likeapear wrote:
alternatively you can use plugin.xml file to extend editor popup menu
--
Vladimir Kondratyev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"