Change VSCode User Settings location

You can add a settings file for a workspace like this :

/yourproject/.vscode/settings.json

Or use the editor and goto :Preferences->settings and select workspace settings in the top bar.

These can be checked into your project and then to source control.

Reference : https://code.visualstudio.com/docs/getstarted/settings#_creating-user-and-workspace-settings

The file is created for you by default when editing the settings in your workspace. There you can select User or Workspace settings.

You can also open the Settings editor from the Command Palette (⇧⌘P) with Preferences: Open Settings or use the keyboard shortcut (⌘,).

enter image description here


You can set the location of the global user data folder by launching from the command line with the --user-data-dir option. But I just initialized a git repo in the default user settings location and keep it in source control there.