1<!--
2 GOLD STANDARD EXAMPLE: Simple Feature / Overview Documentation
3
4 This example demonstrates concise documentation for a feature overview
5 or navigation guide.
6
7 Key patterns to note:
8 - Anchor IDs on all sections
9 - Brief opening paragraph explains what this covers
10 - Each section is concise (1-2 paragraphs max)
11 - Links to detailed docs for each feature
12 - Quick reference table at the end
13 - Uses {#kb ...} syntax for all keybindings
14-->
15
16---
17
18title: Finding and Navigating Code - Zed
19description: Navigate your codebase in Zed with file finder, project search, go to definition, symbol search, and the command palette.
20
21---
22
23# Finding & Navigating
24
25Zed provides several ways to move around your codebase quickly. Here's an overview of the main navigation tools.
26
27## Command Palette {#command-palette}
28
29The Command Palette ({#kb command_palette::Toggle}) is your gateway to almost everything in Zed. Type a few characters to filter commands, then press Enter to execute.
30
31[Learn more about the Command Palette →](./command-palette.md)
32
33## File Finder {#file-finder}
34
35Open any file in your project with {#kb file_finder::Toggle}. Type part of the filename or path to narrow results.
36
37## Project Search {#project-search}
38
39Search across all files with {#kb pane::DeploySearch}. Results appear in a [multibuffer](./multibuffers.md), letting you edit matches in place.
40
41## Go to Definition {#go-to-definition}
42
43Jump to where a symbol is defined with {#kb editor::GoToDefinition} (or `Cmd+Click` / `Ctrl+Click`). If there are multiple definitions, they open in a multibuffer.
44
45## Go to Symbol {#go-to-symbol}
46
47- **Current file:** {#kb outline::Toggle} opens an outline of symbols in the active file
48- **Entire project:** {#kb project_symbols::Toggle} searches symbols across all files
49
50## Outline Panel {#outline-panel}
51
52The Outline Panel ({#kb outline_panel::ToggleFocus}) shows a persistent tree view of symbols in the current file. It's especially useful with [multibuffers](./multibuffers.md) for navigating search results or diagnostics.
53
54[Learn more about the Outline Panel →](./outline-panel.md)
55
56## Tab Switcher {#tab-switcher}
57
58Quickly switch between open tabs with {#kb tab_switcher::Toggle}. Tabs are sorted by recent use—keep holding Ctrl and press Tab to cycle through them.
59
60[Learn more about the Tab Switcher →](./tab-switcher.md)
61
62## Quick Reference {#quick-reference}
63
64| Task | Keybinding |
65| ----------------- | -------------------------------- |
66| Command Palette | {#kb command_palette::Toggle} |
67| Open file | {#kb file_finder::Toggle} |
68| Project search | {#kb pane::DeploySearch} |
69| Go to definition | {#kb editor::GoToDefinition} |
70| Find references | {#kb editor::FindAllReferences} |
71| Symbol in file | {#kb outline::Toggle} |
72| Symbol in project | {#kb project_symbols::Toggle} |
73| Outline Panel | {#kb outline_panel::ToggleFocus} |
74| Tab Switcher | {#kb tab_switcher::Toggle} |
75
76## See Also {#see-also}
77
78- [Command Palette](./command-palette.md) — Full command palette documentation
79- [Multibuffers](./multibuffers.md) — Edit multiple files simultaneously
80- [Outline Panel](./outline-panel.md) — Symbol tree view
81- [Tab Switcher](./tab-switcher.md) — Switch between open files