Release Notes: - N/A Overview Restructures the documentation navigation to be organized by user goals rather than feature lists. Introduces a new "Working with Code" section and reorganizes existing content into clearer groupings. ### Navigation Changes **New top-level sections:** - **Working with Code** — Groups editing, navigation, and execution features by workflow - **Reference** — Dedicated section for lookup-only content (settings, actions, CLI) - **Coming From...** — Migration guides grouped together **Reorganized sections:** - **Customization** — Renamed from "Configuration," focused on appearance and keybindings - **Account & Privacy** — Consolidated auth, privacy, and telemetry pages New Files | File | Purpose | |------|---------| | `editing-code.md` | Overview page for editing features | | `finding-navigating.md` | Overview page for navigation tools with quick reference | | `running-testing.md` | Overview page for tasks, debugger, and REPL | | `reference/all-settings.md` | Settings reference (moved/renamed) | | `reference/cli.md` | CLI reference (moved) | ### Content Moves | Page | From | To | |------|------|-----| | Snippets | Customization | Working with Code → Editing Code | | Code Completions | (flat) | Working with Code → Editing Code | | Diagnostics | (flat) | Working with Code → Editing Code | | Multibuffers | (flat) | Working with Code → Editing Code | | Command Palette | (flat) | Working with Code → Finding & Navigating | | Outline Panel | (flat) | Working with Code → Finding & Navigating | | Tab Switcher | (flat) | Working with Code → Finding & Navigating | | Tasks | (flat) | Working with Code → Running & Testing | | Debugger | (flat) | Working with Code → Running & Testing | | REPL | (flat) | Working with Code → Running & Testing | | All Settings | Configuration | Reference | | CLI | (various) | Reference --------- Co-authored-by: Marshall Bowers <git@maxdeviant.com> Co-authored-by: Zed Zippy <234243425+zed-zippy[bot]@users.noreply.github.com>
32 lines
1.6 KiB
Markdown
32 lines
1.6 KiB
Markdown
# Editing Code
|
|
|
|
Zed provides tools to help you write and modify code efficiently. This section covers the core editing features that work alongside your language server.
|
|
|
|
## What's in This Section
|
|
|
|
- **[Code Completions](./completions.md)** — Autocomplete from language servers and AI-powered edit predictions
|
|
- **[Snippets](./snippets.md)** — Insert reusable code templates with tab stops
|
|
- **[Formatting & Linting](./configuring-languages.md#formatting-and-linting)** — Configure automatic code formatting and linter integration
|
|
- **[Diagnostics & Quick Fixes](./diagnostics.md)** — View errors, warnings, and apply fixes from your language server
|
|
- **[Multibuffers](./multibuffers.md)** — Edit multiple files simultaneously with multiple cursors
|
|
|
|
## How These Features Work Together
|
|
|
|
When you're editing code, Zed combines input from multiple sources:
|
|
|
|
1. **Language servers** provide completions, diagnostics, and quick fixes based on your project's types and structure
|
|
2. **Edit predictions** suggest multi-character or multi-line changes as you type
|
|
3. **Multibuffers** let you apply changes across files in one operation
|
|
|
|
For example, you might:
|
|
|
|
- Rename a function using your language server's rename refactor
|
|
- See the results in a multibuffer showing all affected files
|
|
- Use multiple cursors to make additional edits across all locations
|
|
- Get immediate diagnostic feedback if something breaks
|
|
|
|
## Related Features
|
|
|
|
- [Configuring Languages](./configuring-languages.md) — Set up language servers for your project
|
|
- [Key Bindings](./key-bindings.md) — Customize keyboard shortcuts for editing commands
|