settingsvisual-studio-code

Is there a way to change the extensions folder location for Visual Studio Code?


I've put Visual Studio Code on OneDrive, for the purpose of syncing it with its settings across my devices.

However, extensions are stored in %USERPROFILE%\.vscode\extensions on Windows.

Is it possible to change this folder's location so I can put it in the main Visual Studio Code folder?

At first I thought that copying the extensions in the resources\app\extensions of Visual Studio Code folder will be a nice workaround, but that doesn't work.

I've also searched for a solution on the documentation page and in the user settings, with no results.


Solution

  • A little hack:

    Create a symbolic link to the folder %USERPROFILE%\.vscode\extensions under the Visual Studio Code install path.