302

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?

Ivan
  • 63,011
  • 101
  • 250
  • 382
  • how to search for work with regards to starts with , cause am searching for int event = 0 but it shows private int event = 0 – shareef Sep 25 '17 at 12:30

3 Answers3

515

Find in Path:

Edit > Find > Find in Path

Ctrl + Shift + F

Documentation: Find the search string in a project.

Pang
  • 9,564
  • 146
  • 81
  • 122
komelgman
  • 6,949
  • 2
  • 18
  • 18
29

To clarify, the default Keymap for Find in Path on Mac OS X is also Ctrl + Shift + F

enter image description here

Hanxue
  • 12,243
  • 18
  • 88
  • 130
13

For mac users, find in path is: + ⇧ + F (Command + Shift + F).

Ivaylo Toskov
  • 3,911
  • 3
  • 32
  • 48
Anshu Shekhar
  • 331
  • 3
  • 8