VS Code Workspace Synchronizer
A script to synchronize a VS Code workspace with directories in a source repositories folder. It can add new directories and optionally remove directories that no longer exist.
uv tool install code-workspace-sync
For help and available commands, run: code-workspace-sync --help:
usage: code-workspace-sync [-h] [--src-repos SRC_REPOS]
[--workspace WORKSPACE] [--remove-missing]
[--dry-run] [--verbose]
Synchronize VS Code workspace with src_repos directories
options:
-h, --help show this help message and exit
--src-repos SRC_REPOS
Path to the source repositories directory (default:
src_repos)
--workspace WORKSPACE
Path to the VS Code workspace file (default: auto-
detect in current directory)
--remove-missing Remove directories from workspace that no longer exist
in src_repos
--dry-run Show what would be changed without making any
modifications
--verbose, -v Enable verbose output
Examples:
# Basic sync (add missing directories)
python sync_workspace.py
# Sync with custom paths
python sync_workspace.py --src-repos ./repositories --workspace my-workspace.code-workspace
# Sync and remove missing directories
python sync_workspace.py --remove-missing
# Dry run to see what would change
python sync_workspace.py --dry-run --verbose
# Full sync with verbose output
python sync_workspace.py --remove-missing --verbose
Release files for code-workspace-sync 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| code_workspace_sync-0.1.1.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| code_workspace_sync-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / code_workspace_sync-0.1.1.tar.gz
| Download URL | code_workspace_sync-0.1.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf74a629bb4711a5b015fcbdcb83307e84a8f72f81ef3c511574b31f316a3164
|
|
BLAKE2b-256 checksum How to use checksums |
77141f9c349d6e269e3480c3e63980949af0ce2af76d75918902cba973b48956
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.3
|
Release files / code_workspace_sync-0.1.1-py3-none-any.whl
| Download URL | code_workspace_sync-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e33d47a81858533f259d55b3f8c782bee88bb60a7e8713dd9eadd8b542746ad
|
|
BLAKE2b-256 checksum How to use checksums |
03be0ffc35309b0fb8003358f9103a5f98df6f06c79ba5671ab2d35ce346ee37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.3
|