Navigate to File

Jump to a file without using the Project Tool Window, and your mouse

The Navigate to file feature allows us to search for a file by name, even if we know only part of it.

You to search for a file in the current project only, your source code only, or all places. This means you can search in other places like Go Modules dependencies and GOROOT.

How to use:

Press ⌘⇧O (macOS) / Ctrl+Shift+N (Windows/Linux) to invoke Navigate to file.

Pro tip:

As a hidden gem, try finding a directory by name.


Related Resources

Working with the Call Hierarchy
Working with the Call Hierarchy
Analyze call trees for functions or methods
Select In
Select In
Select the current file in the Project or Changes view and more
File Structure Popup
File Structure Popup
View the file or whole package structure and navigate to any element.