migração

Migrar de Visual Studio Code para Zed

Licença e termos

Visual Studio Code
MIT, Código aberto
Zed
Other, Código aberto
Tipo de substituição
Substituição completa Native editor with multiplayer editing built in.

Esta página está escrita em inglês.

Compatibility

Zed can import a large part of your VS Code settings: editor fonts, tab size, word wrap, minimap, format on save, file associations, autosave, files.exclude, the integrated terminal font and shell, tab and preview behaviour, inline blame, proxy, and the mcp block (which becomes context_servers). If you pick the VS Code keymap during onboarding, most shortcuts stay the same, including Cmd+P, Cmd+Shift+P, Cmd+Shift+F, Cmd+B, Cmd+J and F2.

Some project files are read as they are. Zed loads debug configurations from .vscode/launch.json when a project has no .zed/debug.json, and its tasks documentation describes the VS Code format for tasks taken from .vscode/tasks.json, where a missing label is generated from the task type (npm: start, for example).

Before you switch

  1. Install Zed: on macOS from zed.dev or with brew install --cask zed, on Linux with the script at https://zed.dev/install.sh.
  2. Accept the settings import during setup, or run zed: import vs code settings from the command palette later.
  3. Choose the VS Code keymap during onboarding, then adjust bindings with zed: open keymap.
  4. Copy your snippet JSON into Zed’s snippets folder (snippets: configure snippets). Files are named after the language in lowercase, snippets.json holds global snippets, and JSX snippets go in javascript.json.
  5. Replace each .code-workspace file. Zed has no workspace file: open a folder, use File > Add Folder to Project for extra roots, and put per-project overrides in .zed/settings.json.
  6. For Copilot, open Settings, go to AI > Edit Predictions, click Configure next to “Configure Providers” and sign in to GitHub.

Pitfalls

Guia oficial

Guia de migração de Zed ↗

Revisado em 2026-10-06.

Fontes

Outras alternativas a Visual Studio Code →