Eclipse: Can You Hit A KeyBinding To Find The Command It Is Bound To?

不问归期 提交于 2019-12-10 10:46:26

问题


I'm new to Eclipse. Is it possible in Eclipse to hit a keybinding and find the name of the command it is bound too?

For example, pressing Ctrl+Shift+R and have something like "open-dialog" come up in a list telling me that Ctrl+Shift+R is bound to the command "open-dialog".


回答1:


Unfortunately, Eclipse doesn't make this easy. (Related note: IntelliJ IDEA does.) There are a few things that might help you out, though:

  1. In the Eclipse settings for key bindings, you could do "Export to CSV". Then you can search that document for key combinations.
  2. Also in the Eclipse settings for key bindings, you can sort the "Binding" column. The list is unwieldy to scroll through, but the ordering of multi-key combinations seems to be well defined so you could eventually find the key combination you're looking for.
  3. If you want to look up a common command without going into the settings, you can assign a keyboard shortcut to "Show Key Assist". You can't sort the list by key combination, but it's at least a relatively short list to look through.



回答2:


Windows > Preferences > General > Keys

You can TYPE ( not press ) the name of the keys, it will sort the list by the name of the keys



来源:https://stackoverflow.com/questions/16327769/eclipse-can-you-hit-a-keybinding-to-find-the-command-it-is-bound-to

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!