Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dangmai/vscode-workspace-default-settings
Keep your team VSCode workspace settings in sync
https://github.com/dangmai/vscode-workspace-default-settings
Last synced: 14 days ago
JSON representation
Keep your team VSCode workspace settings in sync
- Host: GitHub
- URL: https://github.com/dangmai/vscode-workspace-default-settings
- Owner: dangmai
- License: mit
- Created: 2019-05-03T18:30:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-27T21:07:39.000Z (6 months ago)
- Last Synced: 2024-05-28T07:08:37.696Z (6 months ago)
- Language: TypeScript
- Homepage:
- Size: 597 KB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Workspace Default Settings Plugin for Visual Studio Code
This plugin looks for a `.vscode/settings.default.json` file in the currently opened VSCode workspace,
and automatically merges it into the current workspace settings file.## Why
When you are working in a team, standardizing the toolset is oftentimes a very important step for the team's success.
Out of the box, VSCode allows teams to version control the `settings.json` file to help out with this.
However, there are a couple of issues with this approach:- Certain plugins pollute this file by adding their own machine-specific settings in there,
which should not be tracked by a version control system.
- Sometimes a developer changes a particular settings temporarily,
and then committed that change by mistake.This plugin is designed to tackle those issues.
By committing a `.vscode/settings.default.json` file in your version control system,
and putting the `.vscode/settings.json` file in your ignore file (e.g. `.gitignore`, `.hgignore`),
you can make sure that developers will have the team-wide settings applied to their environments.They still have the flexibility to temporarily deviate from them if necessary, by modifying the `.vscode/settings.json` file.
Those changes are easily reverted by running the VSCode command `Workspace Default Settings: Synchronize Settings`.## Extension Settings
This extension contributes the following settings:
- `workspace-default-settings.runOnActivation`: Whether the plugin will automatically synchronize the settings on activation. Default: `true`.
- `workspace-default-settings.jsonIndentation`: Number of columns for JSON indentation when saving the settings. Default: `2`.
- `workspace-default-settings.defaultSettingsFileName`: Name of file that contains the default workspace settings. Default: `settings.default.json`.## License
MIT