Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/katsutedev/settings-repository
Sync VSCode settings, extensions, keybindings, and more to a repository
https://github.com/katsutedev/settings-repository
extension git nodejs repository settings-json settings-repo settings-repository settings-storage settings-sync sync-settings ts typescript visual-studio-code visual-studio-code-extension visual-studio-code-settings visual-studio-code-snippets vscode vscode-extension vscode-sync zip
Last synced: about 2 months ago
JSON representation
Sync VSCode settings, extensions, keybindings, and more to a repository
- Host: GitHub
- URL: https://github.com/katsutedev/settings-repository
- Owner: KatsuteDev
- License: gpl-2.0
- Created: 2022-07-12T18:09:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T12:01:18.000Z (9 months ago)
- Last Synced: 2024-04-22T12:02:30.933Z (9 months ago)
- Topics: extension, git, nodejs, repository, settings-json, settings-repo, settings-repository, settings-storage, settings-sync, sync-settings, ts, typescript, visual-studio-code, visual-studio-code-extension, visual-studio-code-settings, visual-studio-code-snippets, vscode, vscode-extension, vscode-sync, zip
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=katsute.settings-repository
- Size: 1.5 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Sync VSCode settings, extensions, keybindings, and more to a git repository.
## Installation
> ⚠️ This extension is not compatible with remote distributions of VSCode (ex: Codespaces). Pull your settings from VSCode on desktop then use the [**Settings Sync**](https://code.visualstudio.com/docs/editor/settings-sync) that is included with VSCode.
This extension requires [git](https://git-scm.com/downloads) to be installed.
#### VSCode Marketplace (recommended)
1. Install from `katsute.settings-repository` in the extension marketplace in Visual Studio Code or install from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=katsute.settings-repository).
#### Manual
1. Install the latest release from the [releases](https://github.com/KatsuteDev/Settings-Repository/releases) tab.
2. Open Visual Studio Code in the folder with the extension.
3. Right click the extension and select **Install Extension VSIX**.##
Run `Settings Repository: Choose Settings Repository` and select `Repository` to setup and authenticate with a repository, make sure you have your access token ready.
For classic tokens, make sure you have [**repo**] selected.
For fine grained tokens, make sure you have [**Read** and **Write** access to code] enabled.
By default this extension will use the `main` branch, if you are using a different branch make sure it has already been created before you push.
Logging information is located in the lower panel under `Output > Settings Repository`.
## Features
#### Extension Sync
Sync all of the extensions that you use, including disabled ones.
Currently the enabled/disabled state of extensions can not be toggled (see [microsoft/vscode#15466](https://github.com/microsoft/vscode/issues/15466#issuecomment-724147661)), extensions will be enabled/disabled based on the local settings.#### Settings Sync
Sync your settings and snippets wherever you use VSCode.
#### Keybindings Sync
Sync keybindings between Windows and Mac, automatically swaps between ctrl and ⌘.
#### Locale Sync
Sync the language that VSCode uses. Requires a restart to see changes.
#### Repository Sync
Use any git repository to backup your settings. For private repositories make sure your token is scoped correctly. Branch must already exist.
#### Import / Export to ZIP
Share copies of your settings without needing a repository.
Use `Settings Repository: Export Settings` to export settings to a zip file and use `Settings Repository: Import Settings` to import settings from a zip file.## Commands
| Command | Description |
|---|---|
|Settings Repository: Options|Menu to access commands for this extension. Can be accessed by clicking `Settings Repository` on the statusbar.|
|Settings Repository: Choose Settings Repository|Menu to access repository options and commands.|
|Settings Repository: Authenticate|Update git authentication.|
|Settings Repository: Overwrite Local|Overwrite local settings with ones from the git repository.|
|Settings Repository: Overwrite Remote|Overwrite settings on the git repository with ones stored locally.
|Settings Repository: Import Settings|Import settings from a zip file.|
|Settings Repository: Export Settings|Export settings to a zip file.|## Configuration
| Name | Type | Description |
|---|:-:|---|
|`settings-repository.repository`|`string`|The git repository to sync settings with.|
|`settings-repository.branch`|`string`|The branch to sync settings with. Branch must already exist.|
|`settings-repository.autoSync`|`boolean`|Automatically sync settings when VSCode closes.|
|`settings-repository.includeHostnameInCommitMessage`|`boolean`|Include hostname in the commit message.|##
This extension is released under the [GNU General Public License (GPL) v2.0](https://github.com/KatsuteDev/Settings-Repository/blob/main/LICENSE).