Java 查找和替换整个项目intellij的符号?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/38342752/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 20:13:25  来源:igfitidea点击:

Find and Replace symbol for whole project intellij?

javaintellij-ideareplacefindintellij-14

提问by Supun Wijerathne

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

IntelliJ IDEA 中,是否可以选择按时操作查找和替换整个项目的符号?

采纳答案by Shreyos Adikari

EDIT:

编辑:

Here is theVisual representationfor 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
  • 在主菜单上,选择编辑 | 查找 | 在路径中替换
  • Ctrl+ Shift+R

You can try Ctrl+ Shift+ F.

你可以试试Ctrl+ Shift+ F

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

如果您在IntelliJ中使用Eclipse 键盘映射,那么您可以使用Ctrl+ H