Skip to content

shynekomaid/.vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.vscode

Table of Contents

Description

Note: Windows commands are untested and written using Github Copilot.

My vscode settings and extensions. In near future, I will add backup for another profiles. Each profile will has unique name. In this README, I will use default as a profile name.

Extensions

Save Extensions Windows

code --list-extensions > extensions\default.txt

Save Extensions Linux

code --list-extensions > extensions/default.txt

Load Extensions Windows

Before running the command, make sure that you have a backup of your current extensions.

Backup your current extensions:

code --list-extensions > extensions\default_backup.txt

Restore extensions: (Optional) Remove all installed extensions:

Get-Content extensions\default_backup.txt | ForEach-Object { code --uninstall-extension $_ }

Load Extensions Linux

Before running the command, make sure that you have a backup of your current extensions.

Backup your current extensions:

code --list-extensions > extensions/default_backup.txt

Restore extensions: (Optional) Remove all installed extensions:

cat extensions/default_backup.txt | xargs -L 1 code --uninstall-extension

Install extensions:

cat extensions/default.txt | xargs -L 1 code --install-extension

Settings

Save Settings Windows

copy %APPDATA%\Code\User\settings.json config\default.jsonp

Save Settings Linux

cp ~/.config/Code/User/settings.json config/default.jsonp

Load Settings

Load Settings Windows

Before running the command, make sure that you have a backup of your current settings.

Backup your current settings:

copy %APPDATA%\Code\User\settings.json %APPDATA%\Code\User\settings_backup.json

Load settings:

copy config\default.jsonp %APPDATA%\Code\User\settings.json
Load Settings Linux

Before running the command, make sure that you have a backup of your current settings.

Backup your current settings:

cp ~/.config/Code/User/settings.json ~/.config/Code/User/settings_backup.json

Load settings:

cp config/default.jsonp ~/.config/Code/User/settings.json

Keybindings

Save Keybindings Windows

copy %APPDATA%\Code\User\keybindings.json keybindings\default.jsonc

Save Keybindings Linux

cp ~/.config/Code/User/keybindings.json keybindings/default.jsonc

Load Keybindings Windows

Before running the command, make sure that you have a backup of your current keybindings.

Backup your current keybindings:

copy %APPDATA%\Code\User\keybindings.json %APPDATA%\Code\User\keybindings_backup.json

Load keybindings:

copy keybindings\default.jsonc %APPDATA%\Code\User\keybindings.json

Load Keybindings Linux

Before running the command, make sure that you have a backup of your current keybindings.

Backup your current keybindings:

cp ~/.config/Code/User/keybindings.json ~/.config/Code/User/keybindings_backup.json

Load keybindings:

cp keybindings/default.jsonp ~/.config/Code/User/keybindings.json

License

MIT

About

My vscode settings and extensions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published