mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-25 14:44:28 +00:00
## Summary - **Add category-claiming keywords** to 4 key AI doc intros (overview, agent panel, edit prediction, configuration) so Google associates these pages with "AI code editor" search terms - **Expand AI overview into a pillar page** with substantive feature summaries and a "How Zed approaches AI" differentiation section (open source, native performance, multi-model, external agents, privacy) - **Improve internal linking** across 11 files to strengthen the AI topic cluster ## Internal linking changes **Inbound links (non-AI docs → AI section):** - `editing-code.md` → AI overview - `terminal.md` → Inline Assistant + Agent Panel - `configuring-zed.md` → AI Configuration - `remote-development.md` → AI overview **Fix orphans within AI section:** - `billing.md` linked to subscription + plans (was orphaned with zero internal links) - `tools.md`, `rules.md`, `llm-providers.md`, `tool-permissions.md`, `models.md` all now cross-link to related AI pages **Outbound:** - `overview.md` → `zed.dev/ai` and `getting-started.md` ## Test plan - [ ] `mdbook build docs` succeeds - [ ] Spot-check links resolve correctly in built output - [ ] Review overview.md content for docs voice fit 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1.9 KiB
1.9 KiB
| title | description |
|---|---|
| Editing Code in Zed | Core code editing features in Zed including multi-cursor, refactoring, code actions, and language server integration. |
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 — Autocomplete from language servers and AI-powered edit predictions
- Snippets — Insert reusable code templates with tab stops
- Formatting & Linting — Configure automatic code formatting and linter integration
- Diagnostics & Quick Fixes — View errors, warnings, and apply fixes from your language server
- Multibuffers — Edit multiple files simultaneously with multiple cursors
How These Features Work Together
When you're editing code, Zed combines input from multiple sources:
- Language servers provide completions, diagnostics, and quick fixes based on your project's types and structure
- Edit predictions suggest multi-character or multi-line changes as you type
- 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
- AI Features — Agentic editing, inline code transformations, and AI code completions
- Configuring Languages — Set up language servers for your project
- Key Bindings — Customize keyboard shortcuts for editing commands