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