No, Find in Files
does not have a direct Find All
button in it; the Find
button will open a buffer/panel with the results in it and the Replace
button will (after prompting you to proceed) open all files with matches and perform the replacement in them.
If you perform a Find in Files
and then immediately do a Find
in the result buffer, the regex
that’s entered in the Find in Files
panel should persist and be the default search in the Find
panel as well.
As such a slightly shorter version of your original post would be to do the Find in Files
operation, then do a Find
and just hit Find All
in that panel.
The downside to that is that the regex is likely to match the result at the top of the buffer that says what you were searching for, may (depending on your search) also match on the names of files, and might find more than you expect if you don’t close the buffer between successive find operations.
A potential solution to this on the plugin front would be a TextCommand
that is only available in a Find in Files
result buffer, which could grab the regex used in the search by looking at the first line, then find all results that aren’t files and select them for you that way.