editing-code.md

 1# Editing Code
 2
 3Zed provides tools to help you write and modify code efficiently. This section covers the core editing features that work alongside your language server.
 4
 5## What's in This Section
 6
 7- **[Code Completions](./completions.md)** — Autocomplete from language servers and AI-powered edit predictions
 8- **[Snippets](./snippets.md)** — Insert reusable code templates with tab stops
 9- **[Formatting & Linting](./configuring-languages.md#formatting-and-linting)** — Configure automatic code formatting and linter integration
10- **[Diagnostics & Quick Fixes](./diagnostics.md)** — View errors, warnings, and apply fixes from your language server
11- **[Multibuffers](./multibuffers.md)** — Edit multiple files simultaneously with multiple cursors
12
13## How These Features Work Together
14
15When you're editing code, Zed combines input from multiple sources:
16
171. **Language servers** provide completions, diagnostics, and quick fixes based on your project's types and structure
182. **Edit predictions** suggest multi-character or multi-line changes as you type
193. **Multibuffers** let you apply changes across files in one operation
20
21For example, you might:
22
23- Rename a function using your language server's rename refactor
24- See the results in a multibuffer showing all affected files
25- Use multiple cursors to make additional edits across all locations
26- Get immediate diagnostic feedback if something breaks
27
28## Related Features
29
30- [Configuring Languages](./configuring-languages.md) — Set up language servers for your project
31- [Key Bindings](./key-bindings.md) — Customize keyboard shortcuts for editing commands