Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.
/ VsCodeLocalSettings Public archive

(WIP) Override desired user settings with local settings for smoother settings sync.

License

Notifications You must be signed in to change notification settings

dece/VsCodeLocalSettings

Repository files navigation

Local Settings

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:

  1. Place your settings in a file named localSettings.json, next to settings.json in your user folder.
  2. Open the command palette and start the "Local Settings: Load" command.

Features

  • Store local settings in a specific file and load them during start-up or with the loadLocalSettings command.

Extension Settings

This extension contributes the following settings:

  • localSettings.fileName: change the name of the file to load, defaults to localSettings.json.

TODO

  • Watcher for the local settings file
  • Ability to pick which level of configuration to shadow
  • Ability to have several settings files

About

(WIP) Override desired user settings with local settings for smoother settings sync.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published