You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A single-click method to get list of all search-results in current file.
Suggested Solution
(1) Add "New Search Editor" button to the "Search in File" panel.
(2) When pressed, it will open a new Search Editor window. it will be already configured for 1. single file search (the origin file) 2. the same search query.
example mock:
Rational
I find same-file searches to be very common, and often I would like to see all results in a list (e.g. when looking for multiple errors in a log file).
Using the whole-project search panel is not a adequate solution since:
it is cumbersome to configure for single file - need to copy the file path, expand the search options and than put it into the "include" field (even though there is an extension add a command to that).
I often like to keep the whole-project search configuration intact, while keep searching in single files.
Reference
Notepad++ has a similar feature named "Find All in Current Document": Lists all the search-results in a new Search results window; only searches the active document buffer.
The text was updated successfully, but these errors were encountered:
After an additional search, I see a similar request exists from 2016: #14836
Having said that, I would like my suggested solution to be considered, since it seems pretty simple (using the existing "search editor" feature).
Will it get attention if I just copy it into the original thread?
A single-click method to get list of all search-results in current file.
Suggested Solution
(1) Add "New Search Editor" button to the "Search in File" panel.
(2) When pressed, it will open a new Search Editor window. it will be already configured for 1. single file search (the origin file) 2. the same search query.
example mock:
Rational
I find same-file searches to be very common, and often I would like to see all results in a list (e.g. when looking for multiple errors in a log file).
Using the whole-project search panel is not a adequate solution since:
Reference
Notepad++ has a similar feature named "Find All in Current Document": Lists all the search-results in a new Search results window; only searches the active document buffer.
The text was updated successfully, but these errors were encountered: