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?
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.
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.
Find in Path:
Edit > Find > Find in Path
Ctrl + Shift + F
Documentation: Find the search string in a project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With