Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Replace all occurences of string in multiple source files in Intellij

Is it possible? 2 options is preferable : 1) with variable 2) other string. Thanks.

like image 860
rok Avatar asked Jan 13 '14 08:01

rok


1 Answers

Yes, it's possible. The command is named "Replace in path" (Ctrl-Shift-R in my keyboard shortcut preferences).

You could have found it yourself by typing Ctrl-shift-A, and typing "replace": this will list all the commands containing the word "replace" in their name.

like image 149
JB Nizet Avatar answered Oct 23 '22 01:10

JB Nizet