Here is the scenario :
- step 1 : I have a text file, and I select the string
SO
which appears 10 times.
- step 2 : I navigate on the next occurences with the command
editor.action.moveSelectionToNextFindMatch
, and I add the 2nd, the 3rd, the 4th and the 5th occurences of SO
to the selection with the command editor.action.addSelectionToNextFindMatch
.
- step 3 : I navigate on the previous occurences with the command
editor.action.moveSelectionToPreviousFindMatch
My questions are :
- Is it normal that the selections I added from step 2 are removed one by one when I focus them on the step 3 ?
- If yes, how to navigate between occurences on multi-cursor mode without removing the added selections (is there an option on settings.json to not remove the selections while navigating, or another commands for navigating without removing the selections) ?
Here is a video showing the scenario :
Side notes :
- I did not find the information reading the VS Code documentations.
- I did not find any similar post.
- I know I can add selections with the mouse and the Alt key, but I prefer a solution with the keyboard.