VS Code

VS Code

https://code.visualstudio.com

open source IDE

independent of Visual Studio itself

Basics

  • opening a folder
  • file explorer
  • split editor

Terminal

Open / close the terminal view via ctrl + `

Open an additional terminal via the + Symbol

Terminals will run in the currently open folder

Configuration

Via File - Preferences - Settings

Is split into User Settings and Workspace Settings

Configuration options

Recommendations:

  • Accept Suggestions on Commit Character (Autocomplete on other keys than Enter): deactivate if you're working with JavaScript / TypeScript
  • Tab Size: 2 or 4

Further options:

  • Auto Save
  • Format on Save
  • Word Wrap
  • EOL
  • Workbench: Color Theme

Command palette

F1 or Ctrl + Shift + P: display command palette

  • searchable
  • shows shortcuts

Example commands:

  • Find
  • Search: Find in Files
  • Format Document
  • Toggle line comment / Toggle block comment
  • Go to definition / Peek definition (only for certain file types)
  • Rename symbol (only for certain file types)

Multiple text cursors

  • Ctrl + F2: set multiple text cursors
  • Alt + click: set multiple text cursors