- Launch VS Code.
- Open the Command Palette (⇧⌘P) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command.
- Restart the terminal for the new
$PATH
value to take effect. You'll be able to type 'code .' in any folder to start editing files in that folder.
Note: If you still have the old
code
alias in your.bash_profile
(or equivalent) from an early VS Code version, remove it and replace it by executing the Shell Command: Install 'code' command in PATH command.
To manually add VS Code to your path on MacOS:
cat << EOF >> ~/.bash_profile
# Add Visual Studio Code (code)
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
EOF
Manually on Windows, VS Code is installed under AppData\Local\Programs\Microsoft VS Code\bin
to PATH environment variables
- Add in you system the font https://github.com/tonsky/FiraCode
- Or Nerd analog for full font with powerline https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraCode
git clone https://github.com/Toxblh/vscode-package.git
cd vscode-package
./restore.sh
- Install Shell command in vscode
./backup.sh
- For restore use
.\restore.bat
- For backup use
.\backup.bat
License MIT