editor popup menu
i added an action to the editor popup menu and it works fine in the normal editor. But how do i get to invoke this action in the diff viewer. When i right click the editor in the diff viewer i do get get the popup menu but a menu with [Replace, insert, revert, Compare with clipboard]. How do i get the editor popup menu in the diff viewer
请先登录再写评论。
Hi,
You can't do it now.
In Idea 15 there'll be added a group "Diff.EditorPopupMenu".
P.S. If you want it badly, in 14.1 you can implement your own DiffTool, overriding TextDiffViewer.createEditorPopupActions(). But this is not a very natural way of doing things. (check gerrit plugin for example)