如何导航到IntelliJ中的类型?或者相当于Eclipse的Ctrl + Shift + T? [英] How to navigate to a Type in IntelliJ? or what is the equivalent to Eclipse's Ctrl + Shift + T?
问题描述
在Eclipse中,打开类型"对话框( Ctrl + Shift + T )允许您打开任何类型,包括那些在jar依赖项中. Intellij IDEA相当于什么?
In Eclipse, the "Open Type" dialog (Ctrl + Shift + T) allows you to open any type, including those that are in jar dependencies. What's the equivalent for Intellij IDEA?
推荐答案
CTRL + N 是您要查找的快捷方式.
CTRL+N is the shortcut you're looking for.
点击后,将显示对话框,您可以在其中搜索项目类型,再次点击该快捷方式,它将包含非项目类型(依赖项).对话框中还有一个复选框.
After you hit it, dialog will be shown where you can search through project types, hit that shortcut again and it will include non-project types (dependencies). There is also checkbox for that in the dialog.
The documentation, which includes some tips and tricks for this feature is available here.
其他替代方法是随处搜索"对话框( SHIFT + SHIFT ).您可以在此对话框中搜索类,命令和许多其他内容.
Other alternative is the search everywhere dialog (SHIFT+SHIFT). You can search through classes, commands, and a lot of other stuff in this dialog.
这篇关于如何导航到IntelliJ中的类型?或者相当于Eclipse的Ctrl + Shift + T?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!