Skip to content

SOP-002: VS Code Migration

Document Control

FieldValue
SOP IDSOP-002
Version1.0
StatusActive
Last Updated2024-12

Purpose

This SOP guides developers through migrating their VS Code settings, extensions, and keybindings to Cursor while preserving their familiar development environment.

Scope

  • One-click settings import
  • Extension migration
  • Keybinding preservation
  • Theme and configuration transfer

Prerequisites

  • VS Code previously installed with settings configured
  • Cursor installed (SOP-001)

Procedure

Migration Overview

One-Click Import: VS Code → Cursor

What Transfers
Settings.json
Extensions
Keybindings
Themes
Snippets

Step 1: Launch Cursor Import Wizard

Option A: First Launch

  • When you first launch Cursor, you'll see a prompt to import VS Code settings
  • Click "Import VS Code Settings"

Option B: Manual Import

  1. Open Command Palette: Cmd+Shift+P / Ctrl+Shift+P
  2. Type: "Import VS Code Settings"
  3. Select the command

Step 2: Select What to Import

The import dialog lets you choose:

ItemDescriptionRecommended
Settingssettings.json configuration✅ Yes
ExtensionsInstalled extensions✅ Yes
KeybindingsCustom keyboard shortcuts✅ Yes
UI StateWindow layout, sidebar state⚠️ Optional

Import All

For most users, importing everything provides the smoothest transition. You can always adjust settings later.

Step 3: Wait for Extensions to Install

Process: Scanning VS Code → Matching in Open VSX Registry → Installing → Complete

  • Cursor uses the Open VSX Registry (same extensions as VS Code)
  • Most extensions are available; some proprietary ones may not be
  • Installation time depends on number of extensions

Step 4: Verify Settings Transfer

Check Settings:

  1. Press Cmd+, / Ctrl+, to open Settings
  2. Verify your preferences are intact

Check Extensions:

  1. Press Cmd+Shift+X / Ctrl+Shift+X to open Extensions
  2. Confirm installed extensions match VS Code

Check Keybindings:

  1. Press Cmd+K Cmd+S / Ctrl+K Ctrl+S
  2. Verify custom keybindings appear

Step 5: Handle Conflicts

Cursor adds AI-specific keybindings. Some may conflict with existing shortcuts:

Cursor DefaultVS Code Common ConflictResolution
Cmd+I (Agent)IntelliSenseCursor prioritizes Agent
Cmd+K (Inline Edit)Usually availableUsually no conflict
Cmd+L (Chat)Select LineCursor remaps

To resolve conflicts:

  1. Open Keyboard Shortcuts: Cmd+K Cmd+S / Ctrl+K Ctrl+S
  2. Search for the conflicting key
  3. Right-click and choose "Remove Keybinding" or "Change Keybinding"

Manual Migration (Alternative)

If auto-import fails, manually copy configuration files:

Settings File Locations

PlatformVS Code PathCursor Path
Windows%APPDATA%\Code\User\settings.json%APPDATA%\Cursor\User\settings.json
macOS~/Library/Application Support/Code/User/settings.json~/Library/Application Support/Cursor/User/settings.json
Linux~/.config/Code/User/settings.json~/.config/Cursor/User/settings.json

Copy Files

bash
# macOS/Linux example
cp ~/Library/Application\ Support/Code/User/settings.json \
   ~/Library/Application\ Support/Cursor/User/settings.json

cp ~/Library/Application\ Support/Code/User/keybindings.json \
   ~/Library/Application\ Support/Cursor/User/keybindings.json

JetBrains Migration

If coming from JetBrains IDEs, you can install familiar keybindings:

  1. Open Extensions: Cmd+Shift+X / Ctrl+Shift+X
  2. Search for "JetBrains IDE Keymap"
  3. Install the extension
  4. Reload Cursor

This provides IntelliJ-style keybindings alongside Cursor's AI features.


Verification Checklist

  • [ ] Settings imported successfully
  • [ ] Theme matches previous VS Code setup
  • [ ] Extensions installed and functional
  • [ ] Custom keybindings working
  • [ ] Code snippets available
  • [ ] Cursor AI features accessible (Cmd+I, Cmd+K)

Troubleshooting

IssueSolution
Import wizard doesn't appearUse Command Palette > "Import VS Code Settings"
Extensions missingSearch manually in Extensions panel
Settings not applyingCheck settings.json for syntax errors
Keybindings not workingCheck for conflicts in Keyboard Shortcuts
Theme not appearingInstall theme extension manually

See Also

Built with VitePress | Powered by Claude AI