Home > Blockchain >  Select all occurrences of current selection in VSCode
Select all occurrences of current selection in VSCode

Time:08-11

In my VSCode there's nothing option about "Select all occurrences of current selection". How can I add it? or How can I reset the keybinding?

This is my option: This is my option

CodePudding user response:

If you select a part of a text file and execute the command Select All Occurrences of Find Match it does the following:

  1. Select Part of a Text file
    enter image description here
  2. Execute Select All Occurrences of Find Match command from the command menu
    enter image description here
  3. All occurences of the text snippet are now selected and can be edited
    enter image description here

If you change the keybinding of just the Select All Occurrences of Find Match command, this allows you to use that keybinding to do what I just described above.

  • Related