VSCoede

VS Code Settings

Extension

Common Used Short Cut

  • Press Ctrl + shift + P to call Command pallete
  • Install ‘code’ command in PATH
    • Press Ctrl + shift + P to open Command pallete
    • Search shell
  • Run and Code Program in Zen mode
    • Press Ctrl + shift + P and search zen
    • Enter Zen Mode or exist in Zen Mode
  • Press Ctrl + / to comment out
  • Press Ctrl + ] or Ctrl + [ to indent
  • Press Ctrl + shift + H to call Find And Replace function
  • Press Ctrl + F to search
  • Press Ctrl + S to save
  • Press Ctrl + ~ to call Terminal
  • Fold/collapse sections of code:
    • Fold
      • Ctrl + Shift + [ on Windows and Linux
    • Unfold
      • Ctrl + Shift + ] on Windows and Linux
    • Fold All
      • Ctrl + (K => 0) on Windows and Linux
      • Command + (K => 0) on macOS
    • Unfold All
      • Ctrl + (K => J) on Windows and Linux
      • Command + (K => J) on macOS
  • Code Runner:
    • use shortcut Ctrl + Alt + N
    • or press F1 and then select/type Run Code