Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to search in all the files of a project in IntelliJ Idea? [duplicate]

I'd like to find all occurrences of a particular string in all the code files of a project of mine. Search/replace panels popping up on Ctrl+F/Ctrl+R don't seem to offer to chose the search domain. Is there such a facility available in IntelliJ Idea?

like image 689
Ivan Avatar asked Feb 22 '12 20:02

Ivan


People also ask

How do I find duplicates in IntelliJ?

Find and replace code duplicatesFrom the main or context menu, select Refactor | Find and Replace Code Duplicates. In the dialog that opens, select the scope where IntelliJ IDEA shall look for code duplicates. For each found code duplicate, IntelliJ IDEA will prompt you to confirm the replacement.

How do I select multiple occurrences in IntelliJ?

Select multiple occurrences of a word or a text range Successively press Alt+J to find and select the next occurrence of case-sensitively matching word or text range. Press Ctrl+Alt+Shift+J to select all case-sensitively matching words or text ranges in the document.


1 Answers

Find in Path:

Edit > Find > Find in Path

Ctrl + Shift + F

Documentation: Find the search string in a project.

like image 85
komelgman Avatar answered Sep 18 '22 17:09

komelgman