替换 Eclipse 中所有文件中的字符串 [英] Replace String in all files in Eclipse
本文介绍了替换 Eclipse 中所有文件中的字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在当前项目的所有文件中搜索和替换字符串?
How can I search and replace a String in all files of my current project?
假设我有字符串/sites/default/";现在我希望它是/public/sites/default/",但有将近 1000 个文件.
Let's say I have the string "/sites/default/" now I want it to be "/public/sites/default/", but there are almost 1000 files.
推荐答案
- 转到搜索"->文件"从左上角的菜单栏
- 输入文本、文件模式和项目
- 点击替换...";底部按钮
- 输入新文本点击确定
瞧...
这篇关于替换 Eclipse 中所有文件中的字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文