Home Explore Blog CI



zed

docs/src/outline-panel.md
ee185dbd69aea5b6d88f1751eb73c0707e9cb61474c75fa800000003000006f6
# Outline Panel

In addition to the modal outline (`cmd-shift-o`), Zed offers an outline panel. The outline panel can be deployed via `cmd-shift-b` (`outline panel: toggle focus` via the command palette), or by clicking the `Outline Panel` button in the status bar.

When viewing a "singleton" buffer (i.e., a single file on a tab), the outline panel works similarly to that of the outline modal-it displays the outline of the current buffer's symbols, as reported by tree-sitter. Clicking on an entry allows you to jump to the associated section in the file. The outline view will also automatically scroll to the section associated with the current cursor position within the file.



## Usage with multibuffers

The outline panel truly excels when used with multi-buffers. Here are some examples of its versatility:

### Project Search Results

Get an overview of search results across your project.



### Project Diagnostics

View a summary of all errors and warnings reported by the language server.



### Find All References

Quickly navigate through all references when using the `editor: find all references` action.



The outline view provides a great way to quickly navigate to specific parts of your code and helps you maintain context when working with large result sets in multi-buffers.

Chunks
5fcc1a73 (1st chunk of `docs/src/outline-panel.md`)
d09841a0 (2nd chunk of `docs/src/outline-panel.md`)
97c00dce (3rd chunk of `docs/src/outline-panel.md`)
86e34217 (4th chunk of `docs/src/outline-panel.md`)