When looking for strings in a project (Ctrl Shift F
) occurrences are shown; how can you open all files with said strings? In this case a string may appear in several files making it difficult to track.
There are many files that contain found string; how can they all be opened in intellij?
CodePudding user response:
Edit > Find > Find in Path
Ctrl Shift F
Documentation: Find the search string in a project.
CodePudding user response:
Try doing Ctrl Shift F then press Shift Enter, (or press the Open in Find Window), to have all occurrences listed in a dedicated window. E.g. see:
CodePudding user response:
- Press
Ctrl Shift F
or Windows orCmd Shift F
on Mac to search for a string. - From the result list select which you would want to open by holding
Ctrl
(Windows) orCmd
(MacOS) and clicking on the entries:
- Press
Enter
to open all the selections.
If you would want to open every file from the search results, select the first entry, hold Shift
and select the last entry, and press Enter
.