Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find and Replace symbol for whole project intellij?

In IntelliJ IDEA, is there an option to find and replace a symbol for whole project with on time operation?

like image 303
Supun Wijerathne Avatar asked Jul 13 '16 04:07

Supun Wijerathne


People also ask

How do I search entire project in IntelliJ?

Use ⇧⇧ (macOS), or Shift+Shift (Windows/Linux), to bring up the Search Everywhere dialog. You can search across Classes, Files, Symbols and Actions. You can also use forward slash to filter the results to a specific area, such as /editor.


2 Answers

EDIT:

Here is the Visual representation for better understanding.

Replacing a piece of text in all the files within the specified path do one of the following:

  • On the main menu, choose Edit | Find | Replace in Path
  • Press Ctrl + Shift + R

You can try Ctrl + Shift + F.

And if you are using Eclipse keymap for IntelliJ then you can use Ctrl + H.

like image 75
Shreyos Adikari Avatar answered Sep 30 '22 07:09

Shreyos Adikari


Windows/Linux Shortcut

CTRLSHIFTR

MacOS Shortcut

R

Common Shortcut

Press SHIFT twice and type Replace in Path

You get an option to apply file mask, scope, etc.

like image 31
Saikat Avatar answered Sep 30 '22 09:09

Saikat