Select all occurrences of selected word in VSCode

Alaa M. Tekleh picture Alaa M. Tekleh · Oct 3, 2017 · Viewed 204.1k times · Source

Are there any trick or extension to select all instances of selected word in visual studio code, to facilitate editing or deleting those instances without search and replace, like ِAlt+F3 in sublime text

Answer

Alex picture Alex · Oct 3, 2017

Select All Occurrences of Find Match editor.action.selectHighlights.

Ctrl+Shift+L

Cmd+Shift+L or Cmd+Ctrl+G on Mac