Resources
MCP servers
Default shortcuts
| Shortcut | Function |
|---|---|
Ctrl+B | Toggle sidebar visibility |
FAQ
Why does my editor.wordWrap setting not apply to Markdown files?
Multiple cursors
- To create multiple cursors, hold down
Altwhile clicking. - Alternatively, if the desired locations are on consecutive lines at the same column position, press
Alt+Shift+Up/Downarrow for the desired direction and number of cursors. - Press
Escto 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