简体   繁体   English

IntelliJ IDEA:如何快速导航到文件?

[英]IntelliJ IDEA: how to quickly navigate to a file?

My project in IntelliJ IDEA has many files grouped in many folders. 我在IntelliJ IDEA中的项目将许多文件归类在许多文件夹中。

Each time I want to find a specific file, I browse through the folders, then browse through the files which is boring. 每次我想查找特定文件时,我都会浏览文件夹,然后浏览无聊的文件。

Can I locate a file by typing some initial characters of its name or similarly? 是否可以通过输入文件名的首字母或类似字符来查找文件?

Ctrl + Shift + N Ctrl + Shift + N

There will be a popup, start writing some part of the filename. 将出现一个弹出窗口,开始写入文件名的某些部分。 Pressing the key combination one more time while writing will Include non-project files in the search, for instance files from libraries. 写入时再按一次组合键将在搜索中Include non-project files ,例如库中的文件。

IDEA输入文件名

The popup is smart, so you can write small parts of the filename to quickly filter the list. 弹出窗口很聪明,因此您可以编写文件名的一小部分以快速过滤列表。 Example: 例: IDEA快速

You can use Ctrl + N for classes, or press Shift twice for Search Everywhere. 您可以将Ctrl + N用于班级,或按Shift两次以选择“无处不在”。

Shift + Shift in IntelliJ IDEA 13. Shift + Shift在IntelliJ IDEA 13。

Ctrl + Shift + N to search files. Ctrl + Shift + N搜索文件。

Ctrl + N to search classes. Ctrl + N搜索类别。

Ctrl + Shift + N I think 我想按Ctrl + Shift + N

See http://tanu.wordpress.com/2010/09/24/moving-from-eclipse-to-intellij-idea/ for a list of shortcuts 有关快捷方式列表,请参见http://tanu.wordpress.com/2010/09/24/moving-from-eclipse-to-intellij-idea/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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