Home > Software design >  How to search only through selected files/folders in IntelliJ?
How to search only through selected files/folders in IntelliJ?

Time:01-06

I'm coming from eclipse and one of my most used feature is to select fiels/folders in the navigator and then execute a search on those (clicking Ctrl H => only the selected files/folders are searched recursivly).
Pressing Ctrl Shift F in IntelliJ only selects the parent folder or the first folder.
How can I search through my selection in IntelliJ?

CodePudding user response:

You can switch to the Scope tab and select Selected directories/Selected files from the list. E.g., enter image description here

Here is a related request https://youtrack.jetbrains.com/issue/IDEA-92340 to make this feature work better. Feel free to upvote/comment.

  • Related