Skip to content

Search and navigation

⌘P (or Find a file… in the toolbar) fuzzy-matches every file in the project. Type a few letters from anywhere in the path.

Type > in the same box and it lists every menu command instead. If you remember roughly what a command is called but not its key, this is the fastest way to it.

Two more prefixes in the same box:

Type Lists
@ What the current file defines, in order, so it doubles as an outline.
# Definitions across the whole project, from the project index.

⌘⇧F searches the whole project in the background, so typing never waits on it.

With project search open, Edit › Replace All replaces every match across the project’s files.

Go to symbol in the file⌘R
Go to symbol in the project⌘T
Go to line⌘L

These come from the language server for the file, when one is installed.

Go to definitionF12 or ⌘-click
Hover informationF1
Rename symbolF2

Go › Find References lists every use of the symbol at the caret.

⌘-click a path such as src/main.rs:42:7 in terminal output to open it at that line and column.