Description
- When the setting
editor.find.findOnType
is enabled, then when searching for text in the current editor, the following three things happen automatically:- The editor scrolls to the first or next match
- The search bar shows the position of this match and count of matches (e.g.
2/7
) - All matches in the file are highlighted
On the other hand, when the setting editor.find.findOnType
is disabled, none of those three things happens until you press Enter.
Ideally it would be possible to enable the second and third behaviors without the first — when searching, I'd like for the count of matches to appear (without the position until I press Enter to actually go to a match) and for the matches to be highlighted. The only thing I don't like to happen automatically is for the editor to scroll to the next match. Currently there is no way to achieve this behavior; it's all or nothing.
I think my ideal settings would be editor.find.findOnType
to enable the second and third items automatically, and a separate editor.find.autoScrollToNextMatch
to let the user to decide whether to scroll automatically as well.