how to toogle a line in vs code code example

Example 1: vs code copy a link down

On Windows: Shift + Alt + Up/Down.
On Mac: Shift + Option + Up/Down.
On Ubuntu: Ctrl + Shift + Alt + Up/Down.

Example 2: vs code open file shortcut

To open a file:
  1. press ctrl + p
  2. enter filename
  3. To go to line append ":10"
  4. To go to function append "@foo"

Example 3: vscode bring up and down terminal panel

ctrl + ` // Close/open terminal panel

Example 4: vscode list of all shortcuts

ctrl + k and ctrl + s // List of all shortcuts

Tags:

Misc Example