'How do I find all files that contain two keywords in a file in IntelliJ?
My question is a follow up question on the selected answer for How do I find all files that contain two keywords in a file?
Step 1: Search for the first string using Find in Path
Step 2: Click on the Open in Find Window button
Step 3: Search for the other string '/abc/defg' using Find in Path with, and this is the important part, the scope Files in Previous Search Result selected.
Below is what I see:
Step 1: search use 'Find in path' for 'math'
Step 2: clicking 'open in find window'
Step 3: doing another 'Find in path' for 'cost'
I am not seeing 'the scope Files in Previous Search Result selected' at all. Step 3 is just bring up the exact UI as step 1.
I am using community version 2021.1, but I am quite sure it's not the version but my operation. What can I try next?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|



