简体   繁体   English

如何摆脱Eclipse查找/替换栏

[英]How do I get rid of the Eclipse Find/Replace Bar

For searching a document, I like using the floating Find/Replace window that pops up. 为了搜索文档,我喜欢使用弹出的浮动“查找/替换”窗口。 Lately, however, hitting command - F pulls up this Find/Replace bar at the bottom of the editor window. 但是,最近点击命令 -F会在编辑器窗口的底部拉出“查找/替换”栏。 I suppose I wouldn't mind it so much, except instead of selecting the text to search it puts the insertion point after whatever I've searched for before. 我想我不会介意这么多,除了没有选择要搜索的文本,它把插入点什么,我之前搜索过的 Very annoying. 很烦人。 Clicking on the magnifying glass pops up the other Find/Replace dialog. 单击放大镜会弹出另一个“查找/替换”对话框。

How can I get the normal dialog to pop-up by default? 默认情况下如何使普通对话框弹出?

I should add that for some reason search is no longer working in Preferences, so I can no longer just search for "Find" to locate the setting I might need to change. 我应该补充一点,由于某种原因,搜索在“首选项”中不再起作用,因此我不再只能搜索“查找”来查找可能需要更改的设置。 So you'll have to give me the exact location. 因此,您必须给我确切的位置。

有问题的查找工具栏

A little more experimenting reveals that this is PyDev-specific behavior but I still can't find the setting that needs changing. 更多的实验表明这是PyDev特定的行为,但我仍然找不到需要更改的设置。

  1. type Ctrl-Shift-L twice brings up Preferences window. 两次按Ctrl-Shift-L会打开“首选项”窗口。
  2. In Preferences window: type 'find bar' in the search field. 在“首选项”窗口中:在搜索字段中键入“查找栏”。 This finds 'Find bar' in category 'Aptana Studio' (assuming you have Aptana Studio included in Eclipse). 这将在“ Aptana Studio”类别中找到“查找栏”(假设Eclipse中包含了Aptana Studio)。 Click this entry 'Find Bar' to bring up the 'Find Bar' settings page. 单击此条目“查找栏”以打开“查找栏”设置页面。
  3. On the Find Bar settings page uncheck 'Use custom find bar on Aptana editors' See shot. 在“查找栏设置”页面上,取消选中“在Aptana编辑器上使用自定义查找栏”。 This did the trick for me! 这对我有用!

Eclipse查找栏设置首选项页面

我向Pydev跟踪器添加了功能请求,以进行设置以隐藏查找栏: https ://sourceforge.net/tracker/?func=detail&aid=3097964&group_id=85796&atid=577332

Could you make sure the 'command-f' is binding with menu item 'edit' - 'find/replace...'? 您能确定'command-f'与菜单项'edit'-'find / replace ...'绑定吗?

Might other plug-in hook the key binding. 可能其他插件会钩住键绑定。

And another way is using 'spy' to see which one contribute it. 另一种方法是使用“间谍”来查看是谁做出的。 Focus on the search widget, then click 'alt - shift - f1'. 专注于搜索窗口小部件,然后单击“ alt-shift-f1”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM