Resources

MCP servers

Default shortcuts

ShortcutFunction
Ctrl+BToggle sidebar visibility

FAQ

Why does my editor.wordWrap setting not apply to Markdown files?

Multiple cursors

  • To create multiple cursors, hold down Alt while clicking.
  • Alternatively, if the desired locations are on consecutive lines at the same column position, press Alt+Shift+Up/Down arrow for the desired direction and number of cursors.
  • Press Esc to go back to a single cursor.

Pressing AltGr on Danish keyboard moves cursor left on Ubuntu in Hyper-V VM

  • Change this setting as follows:
    "keyboard.dispatch": "keyCode"

Sort settings.json

This worked for me (using zsh):

tmp=$(mktemp /tmp/settings.XXXXXX) && npx --yes json5 "$HOME/Library/Application Support/Code/User/settings.json" | jq -S . > "$tmp" && mv "$tmp" "$HOME/Library/Application Support/Code/User/settings.json"

See also: Security analysis of the json5 package