《Eclipse操作指南》附录:牛人常用快捷键速查(中文版)

最全Eclipse快捷键大全

内容导航

  • 1、查看和设置快捷键
    • 1.1、查看快捷键
    • 1.2、设置快捷键
  • 2、常用快捷键
    • 2.1、F功能键
    • 2.2、ALT键
    • 2.3、CTRL键
    • 2.4、其它

更多精彩内容,请查阅《Eclipse操作指南》附录:最全快捷键速查(英文版)。

类似Eclipse IDE这些国外知名软件,还是原英文界面看着舒服。有时候,不经意间看到一些小伙伴的IDE被汉化的不伦不类时,瞬间感觉脊背上似乎有成千上万只蚂蚁爬过......这似乎暴露出了什么......

1、查看和设置快捷键

1.1、查看快捷键

  1. 在Eclipse IDE中,依此单击“Window--Preferences”菜单,打开“Preferences”的对话框。

  2. 在“Preferences”的对话框,依次单击“General--Keys”节点,即可查看所有的快捷键。

1.2、设置快捷键

  1. 在“Preferences”的对话框的“Keys”列表中,搜索并选中对应的“Command”条目。如选中了内容助手“Content Assist”。

  2. 在“Preferences”的对话框左下角的“Binding”文本框中,键入新的快捷键。

  3. “Preferences”的对话框的右下角单击“Apply and Close”按钮,完成设置并关闭该该对话框。

2、常用快捷键

2.1、F功能键

分类 命令 快捷键 场景
未分类的 显示标记备忘单 F1 标记源上下文的帮助描述文本
文件 重命名 F2 主窗口
Navigate Open Declaration F3 In Windows
Navigate Open Type Hierarchy F4 In Windows
Run/Debug Step Into F5 Debugging
Run/Debug Step Over F6 Debugging
Run/Debug Step Return F7 Debugging
Run/Debug Resume F8 Debugging
Run/Debug Debug F11 In Windows
Window Activate Editor F12 In Windows

2.2、ALT键

分类 命令 快捷键 场景
编辑 代码助手 Alt+/ 对话框和主窗口
文件 属性 Alt+Enter 主窗口
文本编辑 向上移动选中行 Alt+Up 编辑文本
文本编辑 向下移动选中行 Alt+Down 编辑文本
导航 后退 Alt+Left 主窗口
导航 前进 Alt+Right 主窗口

2.3、CTRL键

分类 命令 快捷键 场景
Edit Quick Fix Ctrl+1 In Dialogs and Windows
Edit Select All Ctrl+A In Dialogs and Windows
Project Build All Ctrl+B In Windows
Edit Copy Ctrl+C In Dialogs and Windows
Text Editing Delete Line Ctrl+D Editing Text
Window Quick Switch Editor Ctrl+E In Windows
Edit Find and Replace Ctrl+F In Windows
Search Declaration in Workspace Ctrl+G In Windows
Search Open Search Dialog Ctrl+H In Windows
Edit Format Active Elements Ctrl+I Editing in Structured Text Editors
Edit Incremental Find Ctrl+J Editing Text
Edit Find Next Ctrl+K Editing Text
Navigate Go to Line Ctrl+L Editing Text
Window Maximize Active View or Editor Ctrl+M In Windows
File New Ctrl+N In Windows
Run/Debug New Rendering Ctrl+N In Memory View
Navigate Quick Outline Ctrl+O WikiText Markup Source Context
Navigate Quick Outline Ctrl+O Editing in Structured Text Editors
Navigate Quick Outline Ctrl+O Editing JavaScript Source
Navigate Quick Outline Ctrl+O Editing Java Source
Navigate Quick Outline Ctrl+O PDE editor
File Print Ctrl+P In Windows
Navigate Last Edit Location Ctrl+Q In Windows
Run/Debug Run to Line Ctrl+R Debugging
File Save Ctrl+S In Windows
Navigate Quick Hierarchy Ctrl+T Editing Java Source
Navigate Quick Hierarchy Ctrl+T Editing JavaScript Source
Run/Debug Toggle Memory Monitors Pane Ctrl+T In Memory View
Run/Debug Execute Ctrl+U In Windows
Edit Paste Ctrl+V In Dialogs and Windows
Git Paste Repository Path or URI Ctrl+V In Git Repositories View
File Close Ctrl+W In Windows
Run/Debug Close Rendering Ctrl+W In Memory View
Edit Cut Ctrl+X In Dialogs and Windows
Edit Redo Ctrl+Y In Dialogs and Windows
Edit Undo Ctrl+Z In Dialogs and Windows
Run/Debug EOF Ctrl+Z In I/O Console
File Close Ctrl+F4 In Windows
Text Editing Zoom In Ctrl+= Editing Text
Text Editing Text End Ctrl+End Editing Text
Text Editing Scroll Line Up Ctrl+Up Editing Text
Text Editing Text Start Ctrl+Home Editing Text
Edit Context Information Alt+Shift+? In Windows
Edit Word Completion Ctrl+Alt+/ Editing Text
Edit Delete Delete In Windows
Run/Debug Terminate Ctrl+F2 Debugging
Run/Debug Step Into Selection Ctrl+F5 Debugging
Window Next View Ctrl+F7 In Windows

2.4、其它

分类 命令 快捷键 场景
Edit Word Completion Ctrl+Alt+/ Editing Text
Edit Delete Delete In Windows

扫描二维码,关注AT阿宝哥

你可能感兴趣的:(《Eclipse操作指南》附录:牛人常用快捷键速查(中文版))