无需移动双手即可在 Eclipse 中导航菜单
如果您像我一样懒,您不会想每次需要 Eclipse 中的菜单时都动动您的手。有没有什么方法可以在 Eclipse 中导航菜单而无需将手移到鼠标或箭头键上?
我搜索了菜单导航的键绑定(替换上/下/左/右),但结果是空的。
更新 澄清一下,我熟悉答案中提到的很多功能,例如“显示按键辅助”和“快速访问”。我发现我唯一一次真正动动手的是浏览项目列表,例如“包资源管理器”或“打开资源”对话框。我还没有找到这些操作的箭头键的任何替代品。
If you're as lazy as I am, you don't want to go moving your hand every time you need a menu in Eclipse. Is there any way to navigate menus in Eclipse without moving your hands to the mouse or the arrow keys?
I've searched for key bindings for menu navigation (replacing Up/Down/Left/Right), but came up empty.
UPDATE
To clarify, I am familiar with a lot of the features mentioned in the answers, such as "Show Key Assist", and "Quick Access". I've found that the only time I'm ever really moving my hands is to navigate through a list of items, such as the Package Explorer or the Open Resource dialog. I haven't found any alternatives to the arrow keys for these actions.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我喜欢绑定“显示按键辅助”和“快速访问”< /a> 到方便的按键,以便从我当前所在的上下文中获取所有可访问的菜单/命令/视图的列表。
这实际上并不是 ALT+箭头 的替代品,但它可以帮助您减少为找到要启动的正确操作而需要进行的菜单探索。
I like to bind "Show Key Assist", and "Quick Access" to convenient keys, in order to get a list of all menus/commands/views accessible from the context I am currently in.
This isn't really a replacement from ALT+arrows, but it can help reduce the menu exploration you need to do in order to find the right action to launch.
正如 @VonC 提到的,对于大多数还没有键盘快捷键的命令,我会使用快速访问 (CTRL+3)。
您还可以使用助记符来访问大多数菜单项。即 ALT+FP 用于打印,或 ALT+RN 用于“运行配置”对话框。
在大多数操作系统上,F10 将打开最左侧的菜单。 CTRL+F10 将从视图中打开视图菜单,并在文本编辑器中打开标尺菜单。 SHIFT+F10 将在几乎所有位置打开上下文菜单。
密码
As @VonC mentioned, I'd use Quick Access (CTRL+3) for most commands that don't already have a keyboard shortcut.
You can also use mnemonics to access most menu items. i.e. ALT+F P for print, or ALT+R N for the Run Configurations dialog.
F10 will open the left most menu on most OSes. CTRL+F10 will open the view menu from within a view, and the ruler menu in a text editor. SHIFT+F10 will open a context menu in almost all locations.
PW
如果你想在 Eclipse 的视图之间导航,可以使用 Ctrl+F7 &然后按上/下箭头键选择一个。对于“打开资源对话框”,您可以使用 Ctrl+Shift+R。
If you want to navigate between views of eclipse, you can use Ctrl+F7 & then up/down arrow keys to select the one. For 'Open Resource Dialog', you can use Ctrl+Shift+R.