有没有办法在 Eclipse 中的整个项目中查找/替换? [英] Is there a way to find/replace across an entire project in Eclipse?

查看:47
本文介绍了有没有办法在 Eclipse 中的整个项目中查找/替换?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试查找和替换 Eclipse 项目中的许多文件,但我似乎找不到方法来做到这一点.谷歌搜索告诉我有插件可以实现这一点,但是 Eclipse 中是否有任何内置功能?(这似乎是一项非常基本的任务;让我感到惊讶的是我找不到方法来完成它.)

I'm trying to do a find and replace over many files within an Eclipse project, but I can't seem to find a way to do it. Googling showed me that there are plug-ins that can accomplish this, but is there any built-in functionality in Eclipse? (It seems to be a pretty basic task; it's surprising me that I can't find a way to do it.)

推荐答案

Search->File 菜单(也可以使用 Ctrl+H 访问,然后导航到 File 选项卡),输入要搜索的文本,点击 Replace... 按钮,这将为您提供另一个对话框,您可以在其中替换文本.

Search->File menu (also accessible using Ctrl+H, then navigate to File tab), enter the text to search for, hit the Replace... button which will give you another dialog where you can replace text.

这篇关于有没有办法在 Eclipse 中的整个项目中查找/替换?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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