eclipse中的快捷键

一、eclipse中的快捷键的配置:
(1)window->preference->keys

二、常见的快捷键:

alt + /    内容助理(代码提示)

ctrl + 1(数字1)          快速修复

ctrl + shift + o  导入包

ctrl + shift + f  格式化代码块

alt + 方向键     向前向后
alt + <-  向前查看源代码
alt + ->  向后查看源代码

ctrl + shift + /  添加多行注释
ctrl + shift + \  删除多行注释
 
ctrl + shift + x   更改为大写
ctrl + shift + y   更改为小写

ctrl + alt + 向下键   复制行(有些不能用)

alt +  向上或向下键    移动代码位置

ctrl + t    查看类的继承关系


ctrl + 鼠标指定   查看源码(已经在代码中显示的)
ctrl + shift + t   搜索查看远代码(没有在代码中显示的)

ctrl + shift + L   查看所有的快捷键 

windows->reset perspective  重置视图

F2   查看函数方法说明

你可能感兴趣的:(eclipse中的快捷键)