Eclipse替换所有类中的文本? [英] Eclipse Replace text in all Classes?

查看:194
本文介绍了Eclipse替换所有类中的文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在Visual Studio中有一个全部替换的命令,可以在Eclipse项目中的所有.java文件中替换另一个代码。文件选项,我在Eclipse中似乎找不到。

解决方案

Ctrl kbd> H ,或者根据版本查找搜索>搜索或搜索>文件的搜索菜单。在对话框的底部,单击替换...在那里您将找到文件替换功能。


Is there a command to replace a string of code with another in all .java files in an Eclipse project?

In Visual Studio there is a "Replace in all files" option that I can't seem to find in Eclipse.

解决方案

Press Ctrl+H or look in the Search menu for Search>Search or Search>File depending on version. At bottom of dialog box, click Replace... There you'll find the replace in files functionality.

这篇关于Eclipse替换所有类中的文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆