Anton Krug
Anton Krug

Reputation: 1781

Is there a way to change the default paths for visualstudiocode?

Settings, plugins are held in these predefined locations, for example on Windows it's

%APPDATA%\Code\

It is possible to override this path and maybe set it relative to the installation or working directory?

Thank you for any answers.

Upvotes: 1

Views: 6120

Answers (2)

Janosimas
Janosimas

Reputation: 578

Just as a reference if someone finds this issue again:

There is a command line option to set the data folder: --user-data-dir <dir>

https://code.visualstudio.com/docs/editor/command-line#_advanced-cli-options

Upvotes: 3

dr_draik
dr_draik

Reputation: 688

VS Code supports Portable Mode, which will keep data in folders local to the installation.

You can refer to the documentation here for how to configure it.

Upvotes: 2

Related Questions