简体   繁体   中英

How to navigate to a Type in IntelliJ? or what is the equivalent to Eclipse's Ctrl + Shift + T?

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 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 .

Other alternative is the search everywhere dialog ( SHIFT + SHIFT ). You can search through classes, commands, and a lot of other stuff in this dialog.

The shortcut is: CTRL + N (similar to Eclipse CTRL + SHIFT + T )
For just any file it is: CTRL + SHIFT + N (similar to Eclipse CTRL + SHIFT + R )

Ctrl + N ,动作是导航/去上课

Mac 上的Command - O (从菜单中导航 > 类)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM