问题
Is it possible? 2 options is preferable : 1) with variable 2) other string. Thanks.
回答1:
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.
来源:https://stackoverflow.com/questions/21086759/replace-all-occurences-of-string-in-multiple-source-files-in-intellij