VsCode - Installation and configuration on Windows

Card Puncher Data Processing

About

This page is about the Installation and configuration of VsCode

Steps

Install

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

Terminal

Ref doc

For:

  • Git bash
"terminal.integrated.shell.windows": "c:\\cmder\\vendor\\git-for-windows\\bin\\bash.exe",
  "git.enabled": true,
  "git.path": "c:\\cmder\\vendor\\git-for-windows\\cmd\\git.exe",
  • cmd
"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

Documentation / Reference





Discover More
Card Puncher Data Processing
Visual Studio Code (VsCode)

Visual Studio Code is an electron app based on the Monaco HTML Editor. There is no notion of a project but the notion of component (extension). yeoman can help create a project structure....



Share this page:
Follow us:
Task Runner