Trying to figure out how to only search text within selected lines in visual studio code (version 1.17.2). I see lots of other options but not this which surely must be there.
Suggestions appreciated.
Go To Line dialog box To access this dialog box, open a document for editing, and then select Edit > Go To > Go To Line or press Ctrl+G.
Filter line by input regex.Open Command Palette (⇧⌘P) and type FilterLine , select Filter Line By Input Regex in the list. Type a regular expression and hit <Enter> . The extension will output matching lines in a new file with postfix . filterline.
Windows: Ctrl + Alt + Arrow Keys. Linux: Shift + Alt + Arrow Keys. Mac: Opt + Cmd + Arrow Keys.
settings.json Ctrl+,
"editor.find.autoFindInSelection": "multiline" | "always"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With