eclipse快捷键 大全

                                                             Eclipse的快捷键

Eclipse Windows => preference 显示顺序 ( 自己试验过,如有不足,请补充)

1:全局  2Debug  3:Server  4.其他运行环境未测试

 

快捷键

功能

作用域

扫描二维码关注公众号,回复: 646423 查看本文章

备注

Alt+-

显示当前的页面的系统菜单

1

 

Alt+? == Alt+Shift+?

显示当前的上下文信息,如方法参数

1

Notice

Alt+/

提示

 

 

Alt+A

 

 

 

Alt+C

 

 

 

Alt+Enter

查看属性

 

 

Alt+F

 

 

 

Alt+F5

更新Maven项目配置

 

特有

Alt+F7

 

 

 

Alt+G

 

 

 

Alt+H

 

 

 

Alt+left

左移

 

 

Alt+N

 

 

 

Alt+P

 

 

 

Alt+Right

右移

 

 

Alt+Shift+A

块编辑

 

 

Alt+Shift+C

提取方法

 

Notice

Alt+Shift+D,A

Debug  Java  applet

 

 

Alt+Shift+D,E

Debug  Eclipse Application

 

 

Alt+Shift+D,J

Debug  Java Application

 

 

Alt+Shift+D,O

Debug  OSGI Application

 

 

Alt+Shift+D,P

Debug  junit plug

 

 

Alt+Shift+D,Q

Debug  Ant

 

 

Alt+Shift+D,R

Debug  On Server

 

 

Alt+Shift+D,T

Debug  Junit

 

 

Alt+Shift+D,X

Debug  XSLT

 

 

Alt+Shift+Down

 

 

 

Alt+Shift+F

Force return

Debug

 

Alt+Shift+I

优化代码

1

Notice

Alt+Shift+J

生成注释

 

 

Alt+Shift+L

抽取变量

1

Notice

Alt+Shift+Left

选择一部分单词

 

Notice

Alt+Shift+M

提取方法

 

Notice

Alt+Shift+N

新建

 

 

Alt+Shift+O

选中的部分变色

 

 

Alt+Shift+Q,B

Show breakPoint

 

 

Alt+Shift+Q,C

Console

 

 

Alt+Shift+Q,D

declaration

 

 

Alt+Shift+Q,H

Cheat sheets

 

 

Alt+Shift+Q,J

Doc

 

 

Alt+Shift+Q,K

task

 

 

Alt+Shift+Q,L

Error log

 

 

Alt+Shift+Q,O

Outline

 

 

Alt+Shift+Q,P

Package exploer

 

 

Alt+Shift+Q,Q

Show view

 

 

Alt+Shift+Q,S

search

 

 

Alt+Shift+Q,T

Type

 

 

Alt+Shift+Q,V

Var

 

 

Alt+Shift+Q,X

Problems

 

 

Alt+Shift+Q,Y

Synch

 

 

Alt+Shift+Q,Z

History

 

 

Alt+Shift+R = Ctrl+1

Rename重命名

 

Notice

Alt+Shift+Right

选中单词部分

 

 

Alt+Shift+S

选中抽取源代码菜单的快捷键

 

Notice

Alt+Shift+T

选中抽取方法菜单的快捷键

 

Notice

Alt+Shift+U

 

 

 

Alt+Shift+up

选中部分

 

 

Alt+Shift+V

选中的部分移动到其他位置

 

 

Alt+Shift+W

选中当前能打开的视图

 

Notice

Alt+Shift+X,A

Run Java Applet

Run/Debug

 

Alt+Shift+X,E

Run Eclipse Application

 

 

Alt+Shift+X,J

Run Java Application

 

 

Alt+Shift+X,M

Run Maven Build

 

 

Alt+Shift+X,O

Run OSGi Framework

 

 

Alt+Shift+X,P

Run JUnit Plug-in Test

 

 

Alt+Shift+X,Q

Run Ant Build

 

 

Alt+Shift+X,R

Run the current selection on a server

 

 

Alt+Shift+X,T

Run JUnit Test

 

 

Alt+Shift+X,X

Create a configuration to debug an XSLT transformation

 

 

Alt+Shift+Z

显示可以使用的逻辑判断

 

Notice

Alt+T

 

 

 

Alt+Up

选中一行上移

 

Notice

Alt+W

 

 

 

Alt+X

 

 

 

Ctrl+/

注释当前行代码

 

 

Ctrl+1

快速修复当前问题所在

 

Notice

Ctrl+2,F

快速选中的变量成员化

 

Notice

Ctrl+2,L

快速选中当前变量本地化

 

Notice

Ctrl+2,R

快速重命名当前方法中的名称

 

Notice

Ctrl+3

快速进入当前可能的操作

 

Notice

Ctrl+7 = Ctrl+/

注释

 

 

Ctrl+Alt+/

 

 

 

Ctrl+Alt+D

Debug app

Server

 

Ctrl+Alt+PageUp

当前编辑页左移

 

Notice

Ctrl+Alt+PageDown

当前编辑页右移

 

Notice

Ctrl+Alt+down

复制一行

 

Notice

Ctrl+Alt+G

快速搜索

 

Notice

Ctrl+Alt+H = F4

打开所选元素的调用层次

 

Notice

Ctrl+Alt+J

当前多行合并一行

 

Notice!

Ctrl+Alt+M

 

Debug

 

Ctrl+Alt+N

 

Debug

 

Ctrl+Alt+P

Publish

Server

Notice

Ctrl+Alt+R

Run

Server

 

Ctrl+Alt+L

Stop

Server

 

Ctrl+D

Delete line

 

 

Ctrl+del

两行换一行

 

Notice

Ctrl+down

滚动条滑动

 

Notice

Ctrl+E

当前编辑的其他页面

 

Notice

Ctrl+end

文档末尾

 

Notice

Ctrl+F

查找

 

 

Ctrl+F10

打开显示行数等菜单

 

Notice

Ctrl+F11

Run

 

Notice

Ctrl+F12

打开任务

 

 

Ctrl+F2

终止调试

Debug

 

Ctrl+G

查找选中的部分

 

Notice

Ctrl+H

查找

 

 

Ctrl+Home

文档开头

 

Notice

Ctrl+Insert = Ctrl+C

拷贝

 

 

Ctrl+K

查找选中的部分

 

Notice

Ctrl+L

到指定的行数

 

Notice

Ctrl+M

最大化

 

Notice

Ctrl+N

新建一个

 

 

Ctrl+O

展示当前的成员

 

Notice

Ctrl+right

下一个单词

 

 

Ctrl+Shift+/

注释多行

 

 

Ctrl+Shift+\

取消多行注释

 

 

Ctrl+Shift+A

打开Eclipse plug jar

 

Notice

Ctrl+Shift+B

在当前行添加断点

 

 

Ctrl+Shift+C

当前行添加注释

 

Notice!

Ctrl+Shift+D

显示当前变量

Debug

 

Ctrl+Shift+del

多行合并一行

 

 

Ctrl+Shift+down

切换到下一个对象(方法,属性等)

 

Notice !

Ctrl+Shift+up

切换到上一个对象(方法,属性等)

 

Notice

Ctrl+Shift+Enter

插入一个空行

 

Notice

Ctrl+Shift+F

格式化

 

Notice

Ctrl+Shift+F10

打开当前页面的右键菜单

 

Notice

Ctrl+Shift+F11

搜索任务框

 

 

Ctrl+Shift+F4

关闭全部

 

 

Ctrl+Shift+F6 = Ctrl+E

切换其他输入框

 

 

Ctrl+Shift+F7

切换其他的显示框

 

 

Ctrl+Shift+F8

切换Debug等窗口

 

 

Ctrl+Shift+G

搜索选中的部分(包含Jar

 

 

Ctrl+Shift+H

查看类的层次视图

 

Notice !

Ctrl+Shift+K

变量查找

 

Notice

Ctrl+Shift+L

显示快捷键

 

Notice

Ctrl+Shift+Left

选中一部分单词

 

Notice

Ctrl+Shift+M

增加导入

 

Notice

Ctrl+Shift+N

当前对象的数量

Debug

Notice!

Ctrl+Shift+O

增加导入,除掉不用的导入

 

Notice

Ctrl+Shift+P

当前选中模块的开头和结尾

 

Notice

Ctrl+Shift+Q

 

 

 

Ctrl+Shift+R

打开资源 任何文件

 

Notice

Ctrl+Shift+Right

 

 

 

Ctrl+Shift+S

全部保存

 

 

Ctrl+Shiftt+T

打开Java

 

Notice

Ctrlt+Shift+U

搜索当前的Java的字符

 

Notice!

Ctrl+Shift+Up

切换当前类的下一个成员

 

Notice

Ctrl+Shift+V

 

 

 

Ctrl+Shift+W

Close all

 

 

Ctrl+Shift+X

当前单词转换大写

 

Notice

Ctrl+Shift+Y

当前单词转换小写

 

Notice

Ctrl+T

当前对象的层次关系

 

Notice !

Ctrl+U

Execute

Debug

 

Ctrl+Up

滚动条上移

 

Notice

F11

Debug

 

Notice

F2

重命名

 

 

F3

打开定义

 

 

F4

打开所选元素的调用层次

 

Notice

F5

刷新

 

 

Home

当前行的头和空白间隙

 

Notice

Insert

替换当前的字符

 

 

Shift+del

剪切

 

 

Shift+end

从头到尾选中的行

 

Notice

Shift+enter

添加空行

 

Notice

Shift+鼠标

悬浮显示当前的类的内容

 

Notice

Shift+F2

显示当前类的Doc

 

Notice

Shift+Home

选中一行

 

Notice

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

猜你喜欢

转载自jie130890.iteye.com/blog/2034584