iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
👷

How to Switch Back from Cursor to VS Code

に公開

I've been using Cursor for a while, but I switched back to VS Code.
I decided to return because I'm no longer subscribed to Cursor and some extensions have become unusable.
There might be a way to do this via GUI, but I couldn't find it, so I'm documenting the minimum migration steps for Mac.

Migrating settings.json

# Keep the original settings.json just in case
# cp ~/Library/Application\ Support/Code/User/settings.json ~/Library/Application\ Support/Code/User/old_settings.json

# Copy (overwrite) Cursor's settings.json to the VS Code directory
cp ~/Library/Application\ Support/Cursor/User/settings.json ~/Library/Application\ Support/Code/User/settings.json

Migrating extensions

Enable cursor and code commands

  • Press F1 in Cursor and execute Shell Command: install 'cursor' command
  • Press F1 in VS Code and execute Shell Command: install 'code' command

Batch install extensions installed in Cursor to VS Code

# Get the list of installed extensions from Cursor
cursor --list-extensions > extensions.txt

# Batch install in VS Code
cat extensions.txt | xargs -L 1 code --install-extension

Discussion