DEV Community

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

Posted on

2 1

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

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay