2020-04-06: I'm archiving this repo since I'm no longer interested in the feature, as its main purpose, installation-specific settings that play nicely with the Settings Sync extension, is now achievable using sync pragmas. As I still think the issue it raised below is relevant, I'll let everything as is.
THIS EXTENSION WILL NOT WORK until this issue or a similar one is solved.
Local Settings is a VS Code extension to let you store settings to a machine in
a different file than the usual settings.json
. This is useful when you sync
automatically your settings (e.g. with the Settings Sync extension) but have
settings specific to a machine that you do want to override locally (e.g.
window.zoomLevel
).
Quick start:
- Place your settings in a file named
localSettings.json
, next tosettings.json
in your user folder. - Open the command palette and start the "Local Settings: Load" command.
- Store local settings in a specific file and load them during start-up or with
the
loadLocalSettings
command.
This extension contributes the following settings:
localSettings.fileName
: change the name of the file to load, defaults tolocalSettings.json
.
- Watcher for the local settings file
- Ability to pick which level of configuration to shadow
- Ability to have several settings files