Select all occurrences of current selection

Viewed 3100

In visual studio code there is a command editor.action.selectHighlights Ctrl+Shift+L. It will select all occurrences of current selection.

Is this also possible in Visual Studio Community 2017?

2 Answers
Ctrl+Shift+Alt+,

Keyboard setting: Edit.InsertCaretsatAllMatching

Also a second way to avoid remembering a shortcut can be found via VS2017 menu. enter image description here

enter image description here

It's SHIF + ALT + Ç for Visual Studio 2022.

Please check the attached screenshot.

enter image description here

Related