Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
455 views
in Technique[技术] by (71.8m points)

settings - 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%.vscodeextensions 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 resourcesappextensions 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.

question from:https://stackoverflow.com/questions/40080793/is-there-a-way-to-change-the-extensions-folder-location-for-visual-studio-code

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

A little hack:

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...