蚀键绑定无处不在 [英] eclipse key bindings everywhere
问题描述
我想分配一个eclipse键快捷方式.说, Ctrl + Shift + F =文件搜索".
I want to assign an eclipse key shortcut. Say, Ctrl+Shift+F = "File Search".
我可以在窗口->首选项->常规->键->文件搜索->绑定中进行分配: Ctrl + Shift + F
I can assign this in Window -> Preferences -> General -> Keys -> File Search -> Binding: Ctrl+Shift+F
我还需要选择何时".我可以选择编辑Java源代码",编辑Java脚本源代码"等之一.
I also need to select "When". I can select one of "Editing Java Source", "Editing Java Script Source" etc.
是否可以分配此快捷键使其在任何地方都有效?我的意思是我可以在Eclipse中做任何事情-编辑Java,js,xml等,或者可以在控制台窗口中查看日志.我将突出显示一个我要搜索的单词,然后按 Ctrl + Shift + F ,然后蚀只需要弹出文件搜索"对话框
Is it possible to assign this key shortcut to be effective everywhere? What I mean is I can be doing anything in eclipse - editing Java, js, xml, etc or I could be in Console window looking at the logs. I will highlight a word I want to search and press Ctrl+Shift+F and eclipse just has to bring up the "File Search" dialog.
我们如何做到这一点而不必将绑定分配给何时"下拉列表中的每个项目?
How can we do this without have to assign the binding to every item in the "When" drop-down list?
推荐答案
尝试将何时"设置为在Windows中".我刚刚检查了一下,键绑定在我测试的任何地方都有效...
Try setting "When" to "In Windows". I just checked, and the key binding worked everywhere I tested it...
这篇关于蚀键绑定无处不在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!