Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Select/Add next occurrence of current selection on Visual Studio 2013/2015

How do I select the next occurrence of the current selection in VS 2013 and VS 2015?

As a reference for what I want, in Sublime Text/Visual Studio Code, this is achieved by using CTRL+D.

Tried to google it, found similar hotkeys but not exactly what I need.

like image 637
Filipe Barreto Peixoto Teles Avatar asked Jul 31 '15 03:07

Filipe Barreto Peixoto Teles


People also ask

How do you select multiple occurrences?

Place your caret on the word or text range you want to find and select multiple occurrences of and then use ⌃G (macOS), Alt+J (Windows/Linux) to find and select the next occurrence of the word. This is a case-sensitive search.

How do I select multiple instances in Visual Studio?

For multi-select, you can use CTRL-SHIFT-L. You can click over the word and then press key combinations(CTRL-SHIFT-L) this will select all same types of words from the file(vs-code).

How do you add Ctrl D to VS code?

The default shortcut is Alt + Shift + .

How do I use multiple cursor codes in Visual Studio?

You can add secondary cursors (rendered thinner) with Alt+Click. Each cursor operates independently based on the context it sits in. A common way to add more cursors is with Shift+Alt+Down or Shift+Alt+Up that insert cursors below or above.


1 Answers

This is a bit late but this has been added. On mac it's COMMAND + D

like image 91
Mo Ali Avatar answered Oct 21 '22 10:10

Mo Ali