vsc-pref
v1.0.3
Published
A CLI tool to apply your VsCode Preferences and Extensions from remote URLs
Downloads
3
Readme
VsC Prefences
Description
The VsC Prefences CLI Tool
is a command-line interface designed to streamline the management of Visual Studio Code (VSCode) extensions and settings. With this tool, you can easily install multiple extensions at once and apply your personalized VSCode settings from a remote JSON file.
Whether you are setting up a new development environment or sharing your preferred configurations with your team, this CLI tool simplifies the process and saves you time.
I'm lazy enough to think of something like this, but motivated at the right amount to build this up, go figure...
Features:
- Install Extensions: Quickly install one or more
VSCode
extensions by specifying their IDs. Ideal for automating your development setup. - Apply VSCode Settings: Import and apply a settings configuration from a remote JSON file, allowing for consistent setups across different machines or users.
- Cross-Platform Support: Designed to work seamlessly on both
Windows
andMacOS
environments, making it accessible to a wider range of users.
Table of Contents
Usage
npx vsc-pref -i <url>
npx vsc-pref --installExtensions <url>
npx vsc-pref -v <url>
npx vsc-pref --applyVsCodeSettings <url>
You can always npx vsc-pref -h
to see all possible commands also.
Example
Install Extensions
To install extensions using the CLI tool, you can specify one or more extension IDs in the command. Below is an example of how the input might look in JSON format for installing extensions.
{
"extensions": [
"formulahendry.auto-rename-tag",
"alefragnani.Bookmarks"
]
}
Apply VSCode Settings
When applying VSCode settings, you will need a JSON file hosted at a remote URL. This JSON file should contain your VSCode settings.
{
"editor.fontSize": 14,
"editor.lineHeight": 1.5,
"workbench.colorTheme": "One Dark Pro",
"files.autoSave": "afterDelay",
"extensions.ignoreRecommendations": true,
"editor.tabSize": 4,
"editor.wordWrap": "on",
"window.zoomLevel": 0
}
License
GNU LGPLv3
Questions?
Feel free to reach out if you have any questions or need assistance. You can contact me through the following:
- GitHub: @jonaslocke
- LinkedIn: Jonas Antunes
Let’s connect and make your experience better! 🚀