Multiple selection in Visual Studio

Asked

Viewed 669 times

4

I would like to expand the cursor to the next word that is selected, it is similar to the CTRL + F but make a copy of the cursor to which the selected word was found, so you can change more than one place of the code at the same time.

  • Using the Sublime or the Atom the same function is found after selecting the word, using CTRL + D.

The Visual Studio has a shortcut to an equivalent function?

I did not find in the documentation

1 answer

4


There is no native shortcut.

But I found a plug-in that can be downloaded here, and has the following shortcuts.

  • CTRL + D - Adds a cursor to the next selected word
  • ALT + CLICK - Adds a cursor in the click area
  • ALT + CLICK DUPLO - Adds a cursor in the click area and selects the word
  • ESC - Back to single cursor mode

It is a plug-in (shortcut) that is worth investing some time to learn by decreasing the work at the time of coding/ typing.


  1. After this doubt I decided to write this short article about shortcuts, which contains part of the answer.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.