Add action after "Copy" in editor popup menu
Using trial and error and debugger I am able to insert my own action right behind the "Copy" action in the editor popup menu:
There sure must be an easier and cleaner way to do this (i.e. one that does not involve so much casting and array index guessing)?!
Please sign in to leave a comment.
This should work:
Thanks, that works and is much nicer.
BTW is there any place where action ids are documented, or do I always have to ask in the forum or reverse-engineer by debugging?
Hi,
resources.jar\idea\ActionManager.xml
Stephen Kelvin wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
There used to be a file ActionManager.xml which contained all action ids, but it seems to have been removed sometime during the Pallada EAP. I have have posted multiple times with questions about that, but there was no response.
The attachment to this post contains the ActionManager.xml file:
http://www.intellij.net/forums/thread.jsp?forum=23&thread=121999&message=3438115#3438115
Oh, that's where it is! I posted to soon, thanks.
Bas