tips:vsc

This is an old revision of the document!


VSC

Visual Studio Code Editor

sudo apt install fonts-firacode
settings.json
{
    "editor.fontSize": 18,
    "editor.fontFamily": "Fira Code",
    "editor.fontLigatures": true
}
code --install-extension Angular.ng-template
code --install-extension alefragnani.Bookmarks
code --install-extension dbaeumer.vscode-eslint
code --install-extension donjayamanne.githistory
code --install-extension doublefint.pgsql
code --install-extension eg2.tslint
code --install-extension ms-python.python
  • ctrl-b: side bar toggle
  • ctrl-1 2 3: switch to 1,2 or 3 editor window
  • ctrl-\: split window
  • ctrl-w: close window
  • ctrl-click file: open file in new editor
  • ctrl-p: open file
  • ctrl-shift-f: find in folder
  • ctrl-shift-e: explore view
  • F1: command palette
  • Ctrl+Alt+- and Ctrl+Shift+-: history position
  • ctrl-tab: history file
  • ctrl-k and right: move editor to right
  • ctrl+shift+i: format code
  • F12: go to declaration
  • shift-F12: find all references
  • OPTION F12: show declaration
  • ctrl-F12: show refrences and change all them with multi cursor
  • click+OPTION: multi cursor mode
  • ctrl-shit-p: format code
  • ctrl-F2: add cursor to each occurrence of current word
  • ctrl-g: go to line
  • tips/vsc.1512072810.txt.gz
  • Last modified: 2017/11/30 21:13
  • by scipio