DEV Community

Cover image for How to use VS Code Multi-Cursor Editing
CodingWith-Adam
CodingWith-Adam

Posted on

How to use VS Code Multi-Cursor Editing

In this video we will learn how to use a powerful feature in VSCode: multi-cursor editing. Multi-cursor editing is used to edit several lines of code at a time. Learn this powerful feature to edit code files faster.

There are a few way to activate multi-cursor editing

There are a few way to activate multi cursor editing

For a Mac
⌘D - Add selection to next Find match
⇧⌘L - Select all occurrences of current selection
⌥ + - click Insert cursor
⌥⌘↑ - Insert cursor above
⌥⌘↓ - Insert cursor below

For Windows
Ctrl+D - Add selection to next Find match
Ctrl+Shift+L - Select all occurrences of current selection
Ctrl+Alt+ ↑ / ↓ - Insert cursor above / below

VSCode Cheat sheet for Mac OS
https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf

VSCode Cheat Sheet for Windows
https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf

Check out this short video:

How to use VS Code Multi-Cursor Editing - YouTube

In this video we will learn how to use a powerful feature in VSCode: multi-cursor editing. Multi-cursor editing is used to edit several lines of code at a ti...

favicon youtube.com

Top comments (0)