VsCode - Installation and configuration on Windows

> Integrated development environment (ide) > Visual Studio Code (VsCode)

1 - About

Installation and configuration of VsCode

3 - Steps

3.1 - Install

3.2 - Configuration file backup

To backup your configuration file, create a symlink of your user configuration file to a backup-ed location (in this case dropbox)

Example:

SET VSCODE_BACKUP_CONF=C:\Users\gerard\Dropbox\config\VsCode
SET VSCODE_USER_CONF=C:\Users\gerard\AppData\Roaming\Code\User
mkdir %VSCODE_BACKUP_CONF%
mv %VSCODE_USER_CONF%\keybindings.json %VSCODE_BACKUP_CONF%
mv %VSCODE_USER_CONF%\settings.json  %VSCODE_BACKUP_CONF%
mklink %VSCODE_USER_CONF%\keybindings.json  %VSCODE_BACKUP_CONF%\keybindings.json
mklink %VSCODE_USER_CONF%\settings.json  %VSCODE_BACKUP_CONF%\settings.json
symbolic link created for C:\Users\gerard\AppData\Roaming\Code\User\keybindings.json <<===>> C:\Users\gerard\Dropbox\config\VsCode\keybindings.json
symbolic link created for C:\Users\gerard\AppData\Roaming\Code\User\settings.json <<===>> C:\Users\gerard\Dropbox\config\VsCode\settings.json
Advertising

3.3 - Terminal

settings.json
"terminal.integrated.shell.windows": "cmd.exe",
  "terminal.integrated.env.windows": {
    "CMDER_ROOT": "c:\\cmder"
  },
  "terminal.integrated.shellArgs.windows": [
    "/k c:\\cmder\\vendor\\init.bat"
  ],

If you got a strange behavior with the arrows for instance, verify your inputrc

4 - Documentation / Reference

ide/vscode/installation.txt · Last modified: 2019/05/20 21:09 by gerardnico