My VSCode settings
- Clone this repository.
git clone <repository-url> <vscode-settings-path>
- Put a link to the files
keybindings.json
andsettings.json
in the directory for VSCode's user settings.- The path for this directory under different OS:
- Linux:
$HOME/.config/Code/User/
- Windows:
%APPDATA%\Code\User\
- MacOS:
$HOME/Library/Application Support/Code/User/
- Linux:
- For example in Linux, execute the commands below.
ln -s <vscode-settings-path>/keybindings.json $HOME/.config/Code/User/
ln -s <vscode-settings-path>/settings.json $HOME/.config/Code/User/
- See Settings file locations.
- The path for this directory under different OS:
- Install all extensions listed in the file
installed_extensions.txt
.- For example in Linux, execute the command below.
cat <vscode-settings-path>/installed_extensions.txt | xargs -L 1 code --install-extension
- For example in Linux, execute the command below.
Monospaced fonts are used in the settings.
- Install the required monospaced font if it is not installed.
- Linux:
sudo apt install fonts-ipafont
- Linux:
keybindings.json
,settings.json
- If a link to these files are put in the VSCode user settings directory, changes made through editting these configuration files through VSCode will be reflected in the local reporitory.
- Just commit and push changes that are made.
installed_extensions.txt
- It is necessary to explicitly update the file
<vscode-settings-path>/installed_extensions.txt
. - This can be done by executing the following command.
code --list-extensions
- It is necessary to explicitly update the file