- Install VS Code
- Open VS Code and then In Command Palette (default Cmd+P) select
install 'code' command in PATH
codeconf
command will run VS Code within config folder
echo "alias codeconf='code -n ~/Library/Application\ Support/Code/User'" >> ~/.zshrc
source ~/.zshrc
Go to VS Code user dir
cd ~/Library/Application\ Support/Code/User
or VS Code - Insiders user dir
cd ~/Library/Application\ Support/Code\ -\ Insiders/User
or VSCodium user dir
cd ~/Library/Application\ Support/VSCodium/User
Remove existing settings
rm settings.json
rm keybindings.json
rm -rf snippets
Clone this repo
git init
git remote add origin https://github.com/sabahtalateh/vscode-settings.git
git pull origin main
Extensions can be dumped into extensions.txt
file, pushed to this repo and reinstalled from extensions.txt
file (for example in VS Code Insiders or VSCodium)
Dump
make dump-extensions
Install
make install-extensions