How do I list the lines that contains the matches from the \"find\" command ? ie., I would like to list all the matching lines in a separate window. Currently one can only goto
I think the simplest way is just to search for the line like this -> ".*find_this_string.*" and make sure that regular expression is ticked. Then you can click "find all" (alt+enter) and just copy and paste all results to a new window.
Try 'Find in Files' (Cmd+Shift+F on a Mac, presumably Ctrl+Shift+F on a PC).
Search results will display in a new tab, and you can double-click any result to jump to that line in the matching file.
<open files>
in the Where field.1.Here is a reference: How can I filter a file for lines containing a string in Sublime Text 2?
2.There's now a plugin for filtering lines: https://github.com/davidpeckham/FilterLines It allows filtering and code folding based on strings or regular expressions.