Eclipse 不会在查找/替换中返回到文件的开头

标签 eclipse replace eclipse-indigo helios

当我在 Eclipse(Helios Service Release 2)中使用 Find/Replace 时,它​​找不到我当前位置上方的单词,即使它到达文件末尾,我必须将 Direction 设置为 Backward。

我记得 eclipse (可能是靛蓝)在到达结尾时返回到文件的开头。

有什么设置吗?

最佳答案

因为你已经找到了答案。只需在 Eclipse 中添加描述此功能的官方页面。为此提供了一个换行搜索选项。

来自 docs :-

Select the Wrap Search checkbox if you want the dialog to continue from the top of the file once the bottom is reached (if you find / replace in Selected Lines only, then this option applies to those lines only)



以下是相同的屏幕截图:-

enter image description here

关于Eclipse 不会在查找/替换中返回到文件的开头,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18737158/

相关文章:

java - Hibernate 4.3 初始化实体

java - 在 IProject 中搜索文件 - Eclipse

android - 是否可以从外部类中获取应用程序的名称?

javascript - 使用正则表达式替换字符串引用 JavaScript 中的嵌套组

java - eclipse java注解处理

Eclipse Indigo 无法读取存储库(更新站点)

eclipse - 升级到 Eclipse 3.5 后的许多工具提示

objective-c - 优化扫描大文本并匹配单词或短语列表

javascript - 如何在 JavaScript 中使用 "a href"包装器搜索/替换文本?

java - Eclipse 插件 : disable/enable dynamically an action from main menubar