Incremental search for multiple cursorsThis vscode extension provides an incremental search mode that works with multiple cursors, where you interactively provide a search term that advances each cursor and optionally expands your selections. Upon entering incremental search mode (e.g. Example Uses
Regular ExpressionsYou may type Javascript regular expressions to control the search. If you use capturing groups, then each captured group will become a selection instead of the whole matching term. (To toggle regular expression vs plain text search, press Input ModesInput-box (default)
Entering incremental search mode will display an input box at the top of vscode where you can edit the search term. Inline
This mode attempts to create a seamless experience for entering a search term. (Somewhat like incremental search in Visual Studio). Entering incremental search mode will not create a popup window for editing text, but the text you type edit the search term instead of the edit buffer. Pressing backspace will delete the last character of the search term. Editing the document buffer, typing Note: This mode is experimental. You will likely notice lag while doing normal editing if this option has been enabled. If this happens, you will need to change back to CommandsStatus barWhile in incremental search mode, the status bar will display the current search term and button-indicators to toggle regular expression matching and case sensitivity. If the regular expression is ill-formed, then it will appear red. If there is not match, then the search term will appear yellow. Forward search
Enters incremental search mode and subsequently advances each cursor to the next match, selecting it. Backwards search
Enters incremental search mode and subsequently advances each cursor to the next match and selecting it, in the reverse direction. Expand selection by the next forward match
Instead of moving the selections to the next match, this adds the next matches to the existing selection. Expand selection by the next backwards match
Expands the selections with a backwards search. Toggle regular expressions vs plain-text search terms
The search term is interpreted as a regular expression when enabled, or as plain text otherwise. Toggle case sensitivity
Toggles whether the match should be case sensitive. ConfigurationInput modeKey: Whether to read the search term from an input box or by capturing text typed into the editor. Match stylingKey: Styling to apply to the most recent matches. If regular-expression capturing groups are used, then each full match term will be styled rather than each captured group. You may specify different styles for dark and light themes. When to style matchesKey: When to apply styling to matches. Selection stylingKey: Styling to apply to all accumulated selections, including the currently matched terms. This is particularly useful for |