如何禁用 Eclipse 的查找/搜索正则表达式提示下拉菜单?

发布于 2024-09-15 10:29:15 字数 229 浏览 0 评论 0原文

当搜索(跨文件)或查找(文件内)时,如果您启用了正则表达式并输入某个字符(反斜杠、左括号等),它会显示一个带有提示的下拉框。

我不需要这些提示;它们妨碍了对话的其余部分,而且愚蠢的下拉菜单劫持了我的 home/end 键。

但是,我找不到任何禁用它的首选项 - 是否有一些我不知道的隐藏方法可以关闭它们?

或者,如果我需要修改源代码并重建,我需要编辑哪些文件,我可以以不妨碍升级的方式进行编辑吗?

When searching (across files) or finding (within files), if you have regular expressions enabled and enter a certain character (backslash, opening paren, etc) it displays a drop-down box with hints in.

I don't need these hints; they get in the way of the rest of the dialog, and the stupid drop-down hijacks my home/end keys.

However, I can't find any preferences for disabling it - is there some hidden way to turn them off which I'm not aware of?

Alternatively, if I need to modify the source and rebuild, what files do I need to edit, and can I do it in a way that doesn't prevent upgrading?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

百变从容 2024-09-22 10:29:16

(Eclipse Galileo 3.5)

我没有找到任何明显的方法来阻止该搜索字段中的“内容帮助”。

所以我通常做的是:在任何我想要的编辑器中准备搜索表达式,然后将其复制粘贴到所述搜索字段中。
有点麻烦,但对我来说已经足够了。

目标:避免这种情况。

alt text


(Eclipse Helios 3.6)

注意:根据bug 259592在 Eclipse Helios 3.6 中默认禁用自动完成

ctrl+空格可用。那里有一个灯泡提醒您可以在此字段中完成帮助。

替代文本

(Eclipse Galileo 3.5)

I didn't find any obvious way to prevent the "content assistance" in that search field.

So what I usually do is: prepare the search expression in any editor I want, and copy-paste it in said search field.
A bit cumbersome, but it works nicely enough for me.

The goal: avoid this kind of situation.

alt text


(Eclipse Helios 3.6)

Note: according to bug 259592, the auto-completion is disabled by default in Eclipse Helios 3.6.

ctrl+space is available. A lightbulb is there to remind you that completion help is possible in this field.

alt text

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文