如何禁用 Eclipse 的查找/搜索正则表达式提示下拉菜单?
当搜索(跨文件)或查找(文件内)时,如果您启用了正则表达式并输入某个字符(反斜杠、左括号等),它会显示一个带有提示的下拉框。
我不需要这些提示;它们妨碍了对话的其余部分,而且愚蠢的下拉菜单劫持了我的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
(Eclipse Galileo 3.5)
我没有找到任何明显的方法来阻止该搜索字段中的“内容帮助”。
所以我通常做的是:在任何我想要的编辑器中准备搜索表达式,然后将其复制粘贴到所述搜索字段中。
有点麻烦,但对我来说已经足够了。
目标:避免这种情况。
(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.
(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.