Author: gobinathal
Import specific VS Code extensions into Cursor — no need to import everything. Also download extensions directly from the VS Code Marketplace and import them into Cursor in one step.
Cursor's built-in import is all-or-nothing. This extension fixes that: pick the exact extensions you want from your local VS Code install, or fetch any Marketplace extension and import it straight into ~/.cursor/extensions/.
- Import specific local VS Code extensions (reads
~/.vscode/extensions/extensions.json). - Download and import extensions from the VS Code Marketplace.
- Automatically copy extension folder into
~/.cursor/extensions/and upsert the extension JSON block into~/.cursor/extensions/extensions.json. - Simple, in-UI workflow (no manual
.vsixjuggling).
- Install from Open VSX: search
VSCode Extension Importer(publisher:gobinathal). - Or use the command line:
code --install-extension gobinathal.vscode-extension-importer
- Download the latest
.vsixfrom the releases page - Install using VS Code/Cursor:
code --install-extension vscode-extension-importer-0.1.0.vsix
-
Clone the repository:
git clone https://github.com/gobinathal/vscode-extension-importer.git cd vscode-extension-importer npm install -
Package for OpenVSX:
npm run package
-
Install the generated
.vsix:code --install-extension vscode-extension-importer-0.1.0.vsix
Open the Command Palette and run: VSCode Extension Importer: Import VSCode Extension
Choose Local to pick an already installed extension from your machine.
Choose VSCode Marketplace to search for an extension (enter publisher.name like ms-python.python), pick a version, download, and import.
After import the extension folder will live at:
~/.cursor/extensions/<extension-folder>/and ~/.cursor/extensions/extensions.json will be updated.
To import GitLens:
Command Palette → VSCode Extension Importer: Import VSCode Extension → Marketplace → search eamodio.gitlens → choose version → import.
- Node.js 16+
- npm or yarn
npm installnpm run package- Create VSIX package using VSCEnpm run publish:openvsx- Package and publish to OpenVSX registrynpm run publish:openvsx:dry- Dry run package and publish to OpenVSX registry
-
Set your OpenVSX token:
export OPENVSX_TOKEN="your-token-here"
-
Package and publish (OVSX will package automatically):
npm run publish:openvsx
-
Or do a dry run first:
npm run publish:openvsx:dry
- Make sure Cursor and VS Code paths match your system. The extension uses
~/.vscode/extensions/extensions.jsonfor local imports. - Marketplace downloads use the public Visual Studio Marketplace API. If a publisher has platform-specific assets, you may need to pick the appropriate version.
- If you already have an extension with the same id in
~/.cursor/extensions/, you will be prompted to overwrite.
See CHANGELOG.md.
MIT — see LICENSE.