

The Go to Definition and Open Link gestures will also respect this setting and adapt such that they do not conflict. There's also a menu item Use Ctrl+Click for Multi-Cursor in the Selection menu to quickly toggle this setting.


Tip: You can also add more cursors with ⇧⌘L (Windows, Linux Ctrl+Shift+L), which will add a selection at each occurrence of the current selected text. ⌘D (Windows, Linux Ctrl+D) selects the word at the cursor, or the next occurrence of the current selection. Note: Your graphics card driver (for example NVIDIA) might overwrite these default shortcuts. A common way to add more cursors is with ⌥⌘↓ (Windows Ctrl+Alt+Down, Linux Shift+Alt+Down) or ⌥⌘↑ (Windows Ctrl+Alt+Up, Linux Shift+Alt+Up) that insert cursors below or above. Each cursor operates independently based on the context it sits in. You can add secondary cursors (rendered thinner) with Alt+Click. VS Code supports multiple cursors for fast simultaneous edits. Customize Keyboard Shortcuts - Change the default keyboard shortcuts to fit your style.Install a Keymap extension - Use the keyboard shortcuts of your old editor (such as Sublime Text, Atom, and Vim) in VS Code by installing a Keymap extension.Keyboard Shortcuts Reference - Learn the most commonly used and popular keyboard shortcuts by downloading the reference sheet.VS Code has a rich set of default keyboard shortcuts as well as allowing you to customize them. Keyboard shortcutsīeing able to keep your hands on the keyboard when writing code is crucial for high productivity. This topic takes you through the basics of the editor and helps you get moving with your code. Visual Studio Code is an editor first and foremost, and includes the features you need for highly productive source code editing. Configure IntelliSense for cross-compiling.
