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?
Ctrl + Shift + L to select all occurrences of current selection.
Ctrl+D selects the word at the cursor, or the next occurrence of the current selection. Tip: You can also add more cursors with Ctrl+Shift+L, which will add a selection at each occurrence of the current selected text.
Multi-cursor selection in WebStorm: Select next occurrence of the current word or selection: Ctrl+G on macOS and Alt+J on Windows and Linux. Select all occurrences: Ctrl+Cmd+G / Shift+Ctrl+Alt+J.
Ctrl+Shift+Alt+,
Keyboard setting: Edit.InsertCaretsatAllMatching
Also a second way to avoid remembering a shortcut can be found via VS2017 menu.
It's SHIF + ALT + Ç
for Visual Studio 2022.
Please check the attached screenshot.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With