Immediate Solution via Official Microsoft VS Code
To resolve problems when the VSX marketplace (used by Cursor/Trae) is inaccessible:
- Install the official Microsoft VS Code and add your required extensions
- Open Cursor/Trae, press
CTRL + SHIFT + P
and select “Import configuration from VS Code” - This will import settings and extensions from VS Code to Cursor/Trae
Note: This solution works perfectly in native Windows environments but has limitations when using WSL.
Solution for WSL (Windows Subsystem for Linux)
When working with WSL, extensions need to be installed specifically for the Linux environment:
- Install extensions in the official Microsoft VS Code
- Open VS Code with WSL connection and install the same extensions for the WSL environment
- Using the WSL terminal, locate and copy the extension folders:
# Copy VS Code extensions to Cursor/Trae
cp -r ~/.vscode-server/extensions/* ~/.cursor-server/extensions/
# or
cp -r ~/.vscode-server/extensions/* ~/.trae-server/extensions/
Finding Extension Directories
Extension directories are typically located at:
- VS Code:
~/.vscode-server/extensions/
- Cursor:
~/.cursor-server/extensions/
- Trae:
~/.trae-server/extensions/
If you can’t find these folders, navigate to your home directory (~/
) and run ls -la
to view all directories, including hidden ones. Look for folders with similar names to those listed above.
This solution allows you to continue using your preferred editor even when VSX is unavailable, keeping all your favorite extensions working correctly in both Windows and WSL environments.