Find in File

Find a specific name or string in your file.

Open Find ⌘F (macOS) / CtrlF (Windows/Linux) and enter your search term to find all instances in the current file. Or, select a name or String in the file, and open Find ⌘F (macOS) / CtrlF (Windows/Linux). IntelliJ IDEA will open the search bar with the selected string and highlight all instances of that string in the current file.

Interested in JVM Development?

call to action image

Do you want to know the keyboard shortcut to not only find in a file, but find in all files?

Learn More


Related Resources

Add a Breakpoint
Add a Breakpoint
Add breakpoints when you get an exception in your code.
Create a new class
Create a new class
Create a new class and a new package.
Find Next Word
Find Next Word
Find next word and highlight all instances.