projects:zibaldone:vscode

This is an old revision of the document!


VSC

Visual Studio Code Editor

sudo apt install fonts-firacode
settings.json
{
    "editor.fontSize": 14,
    "editor.fontFamily": "Fira Code",
    "editor.fontLigatures": true,
    "window.zoomLevel": 1.5,
    "editor.tabSize": 4,
    "editor.insertSpaces": 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
keybindings.json
[
    { "key": "ctrl+s", "command": "workbench.action.files.saveAll" },
    { "key": "alt+left",  "command": "workbench.action.navigateBack" },
    { "key": "alt+right", "command": "workbench.action.navigateForward" }    
]
  • ctrl-alt–: go back
  • ctrl-shift–: go forward
  • 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
  • projects/zibaldone/vscode.1633680364.txt.gz
  • Last modified: 2021/10/08 10:06
  • by scipio