Search code examples
javaintellij-idea

Open files containing string intellij


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?


Solution

  • 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: enter image description here