Intellij如何添加调用层次结构到鼠标弹出菜单?(Intellij how to add call hierarchy to mouse popup menu?)
有没有办法在Intellij中添加Call Hierarchy到鼠标弹出菜单? 我使用它很多,并希望它在鼠标右键单击弹出式菜单上可用。
Is there a way to add Call Hierarchy to mouse popup menu in Intellij? I use it a lot and hope it is available on the mouse right click popup menu.
最满意答案
这适用于Intellij IDEA Ultimate 2018.1.3:
从文件菜单中选择设置.. 在左侧面板中选择外观和行为>菜单和工具栏 。 在右侧面板中展开“ 编辑器弹出菜单”条目。 选择该菜单的最后一项,这对我来说是JSP Actions 。 现在应该启用右侧的一些按钮。 点击Add After ...按钮:
“ 选择操作添加”对话框打开。 导航到“ 呼叫层次”条目:
展开主菜单项,然后展开导航条目。 向下滚动并选择Call Hierarchy条目。 单击确定关闭选择操作添加对话框。在菜单条目列表的末尾,现在应该有一个用于“ 呼叫层次结构”的新条目。
点击确定关闭设置窗口。 将鼠标光标置于编辑器窗口中的某个方法上,右键单击并从弹出式菜单的底部选择浏览调用层次结构 :
This works on Intellij IDEA Ultimate 2018.1.3:
From the File menu select Settings... In the left panel select Appearance & Behavior > Menus and Toolbars. In the right panel expand the Editor Popup Menu entry. Select the final entry of that menu, which (for me) was JSP Actions. Some buttons on the right should now be enabled. Click the Add After... button:The Choose Actions To Add dialog opens. Navigate to the Call Hierarchy entry:
Expand the Main menu entry, then expand the Navigate entry. Scroll down and select the Call Hierarchy entry. Click OK to close the Choose Actions To Add dialog.At the end of the list of menu entries there should now be a new entry for Call Hierarchy.
Click OK to close the Settings window. Position the mouse cursor over a method in the editor window, right click and select Browse Call Hierarchy from the bottom of the popup menu:更多推荐
发布评论