Navigate Files With Navigation Bar

Move around your project tree and select files, from your keyboard, with the Navigation Bar.

We've discussed "getting into the flow"...strip down the IDE to focus and don't take your hands off the keyboard. But if you've turned off your Project tool window, how can you navigate files and directories?

You could use the Project action ⌘1 (macOS) / Alt+1 (Windows/Linux) to bring back the Project tool, do your work, and then hide it again. Instead, temporarily bring back the Navigation Bar then navigate it with the keyboard.

You can use the left arrow to go up a directory and right arrow to go down a directory. To see the contents of a directory, either press the down arrow or press (macOS) / Enter (Windows/Linux). With this you can get to any place in the tree, without using the mouse.

For looking at the directory the currently-edited file is in, this is even easier. Activating the Navigation Bar makes the current file selected. You don't have to press (macOS) / Up Arrow (Windows/Linux) to select the parent directory. Just press (macOS) / Down Arrow (Windows/Linux).

Related Resources

How to Quickly Jump to Recent Files in any JetBrains IDE
Are you tired of hunting for that crucial file buried in your project? Say goodbye to the hassle with these IDE shortcuts and tips. Jump to recent files effortlessly in JetBrains IDEs like IntelliJ IDEA, PyCharm, PhpStorm, WebStorm, GoLand, CLion, RubyMine, and more!
Find In Path With Navigation Bar
Use keyboard and Navigation Bar to find files under a path.
Create New File With Navigation Bar
Activate the Navigation Bar and create a new file somewhere in the project tree.