---
title: Microsoft Visual Studio Code
kind: note
description: open core IDE
words: 117
readingMinutes: 1
created: '2024-08-17T20:24:35+02:00'
updated: '2026-04-11T17:03:01+02:00'
website: https://code.visualstudio.com/
---
## Link

<https://code.visualstudio.com/>

# Resources
## [MCP](/notes/mcp) servers
- [MCP Servers for agent mode](https://code.visualstudio.com/mcp)
# Default shortcuts
| Shortcut   | Function                  |
| ---------- | ------------------------- |
| `Ctrl`+`B` | Toggle sidebar visibility |
# FAQ
## Why does my `editor.wordWrap` setting not apply to [Markdown](/notes/markdown) files?

- See <https://github.com/microsoft/vscode/issues/72559>
## 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](/notes/ubuntu) in <span class="dead-link">Hyper-V</span> VM
- Change this setting as follows:
	```json
	"keyboard.dispatch": "keyCode"
	```
	- [Source](https://stackoverflow.com/questions/67804948/vscode-cursor-moves-left-on-altgr-how-to-fix-it)
## Sort `settings.json`
This worked for me (using [zsh](/notes/zsh)):
```shell
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](https://socket.dev/npm/package/json5)
