how to batch replace in visual studio code when you click and drag to select one variable, and other same name variable is already lighted?

1.Click and drag

2.Windows/Linux: Ctrl+Shift+L
macOS: Cmd+Shift+L

3.typing the replacement text

4.Add a cursor: Alt+Click (Windows/Linux), Option+Click (macOS)

5.Remove a cursor: Alt+Click (Windows/Linux), Option+Click (macOS) on an existing cursor

Get New Tutorials by Email

No spam. Just clear, practical breakdowns you can apply right away.

Enjoy this tutorial?

Get new practical tech tutorials in your inbox.