shortcuts in visual studio code code example

Example 1: visual studio code indent outdent shortcut

Indent using tab key. Outdent using Shift + tab key.

Example 2: vscode command to select a whole line

windows: Ctrl + L
MacOS: Command + L

Example 3: 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 4: visual studio code terminal window shortcut back

// Toggle between terminal and editor focus
{ "key": "ctrl+`", "command": "workbench.action.terminal.focus"},
{ "key": "ctrl+`", "command": "workbench.action.focusActiveEditorGroup", "when": "terminalFocus"}

Example 5: property shortcut visual studio

public TYPE Type { get; set; }

Example 6: visual studio code edit shortcuts

Windows edit key bindings: 
ctrl + k -> ctrl + s

Tags:

Misc Example