Eclipse - 默认键盘快捷键列表 [英] Eclipse - List of default keyboard shortcuts

查看:26
本文介绍了Eclipse - 默认键盘快捷键列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有默认的 Eclipse 键盘快捷键列表?我通常在寻找与语言无关的东西,例如启动调试器或在源代码编辑器中删除整行.

解决方案

而不是完整 快捷方式列表 (
来源:"

<小时>

注意

<块引用>

您可以在首选项"对话框中通过 General > 上的调用命令时显示键绑定"复选框激活此功能.键首选项页面.
要快速切换此设置,可以使用命令切换是否显示键绑定"(例如,通过快速访问).

Is there a list of the default Eclipse keyboard shortcuts? I'm generally looking for language agnostic things like starting the debugger or deleting an entire line in the source editor.

解决方案

Rather than a full list of shortcut (JGlass mentions for Eclipse 4.6 this pdf), I prefer using only a few shortcuts:

  • CTRL+Shift+L: "Show Key Assist", List of shortcuts (depending on the context)

  • CTRL+3: Quick Access


Source: "Good features of Eclipse 3.6 (Eclipse Helios) JDT, 2011, from Sony Thomas"

Those two covers almost everything.

You can add two others:

  • CTRL+1: Quick Fix


Note that Eclipse 2019-09 now shows key bindings when command is invoked.

For presentations, screen casts and learning purposes, it is very helpful to show the corresponding key binding when a command is invoked.
When the command is invoked (via a key binding or menu interaction) the key binding, the command's name and description are shown on the screen. Key binding of triggered command shown on screen

You can activate this in the Preferences dialog via the Show key binding when command is invoked check box on the General > Keys preference page.
To toggle this setting quickly the command 'Toggle Whether to Show Key Binding' can be used (e.g. via the quick access).

这篇关于Eclipse - 默认键盘快捷键列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆