Visual Studio Code notes

Set VS Code as default merge tool

git config --global merge.tool code

Launch VS Code from the command line

VS Code allows you to customize how the editor is launched to support various scenarios.

# open code with current directory
code .

# open the current directory in the most recently used code window
code -r .

# create a new window
code -n

# change the language
code --locale=es

# open diff editor
code --diff  

# open file at specific line and column 
code --goto package.json:10:5

# see help options
code --help

# disable all extensions
code --disable-extensions .

© 2020 | Paul Kim