VSCode

Software Reference Editor: VSCode

Hotkey

Function Mac Window
Open new window Command(⌘)+ Shift(⇧)+ N -

Format

Function Mac Window
Format HTML Shift(⇧)+ Option(⌥) + F Shift + Alt + F

Setting

Open setting.json

Command

  • Command(⌘) + Shift(⇧) + P or Ctrl + Shift + P
  • Type open settings
  • Choose Open User Settings (JSON)

VSCode

GUI

  • Click the open setting button on the setting page

VSCode

setting.json file path

Platform Path
Windows %APPDATA%\Code\User\settings.json
Mac $HOME/Library/Application\ Support/Code/User/settings.json
Linux $HOME/.config/Code/User/settings.json

setting.json

{
    // File explore tree indent
    workbench.tree.indent: 8,
    editor.formatOnSave: false,
    "[javascript, python]": {
       "editor.formatOnSave": true
    },
    "files.associations": {
        "**/out/**/*.js": "plaintext"
    }
    
}

Hotkey

Description Mac Windows Linux
Save without formatting Command(⌘)+ K + S Ctrl + K / Ctrl + Shift + S Ctrl + K + S

Reference