Eclipse使用技巧

参考:

1. 最常用的15打Eclipse开发快捷键技巧  http://blog.youkuaiyun.com/chenleixing/article/details/44600587

2. Eclipse使用心得与技巧  http://blog.youkuaiyun.com/diyangxia/article/details/42673851

 

2017-11-25

1. syso 快捷键不能使用的问题:

  preference > general > keys > content asist:alt + /

  when:editing text

2. 代码背景色设置:

  preference > General > Editors > Text Editors > Background color:R199 G237 B204

3. 为代码添加统一注释

  preference > Java > Code Style > Code Templates > Comments > Types > Edit (日期作者等)

  preference > Java > Code Style > Code Templates > Comments > Files > Edit (版权声明等)

  新建类时勾选 Generate comments

4. 一些快捷键

  - Alt + ↑:向上移动选中的代码

  - Alt + ↓:向下移动选中的代码

  - Ctrl + Alt + ↓:复制当前行到下一行(复制增加)

  - Ctrl + Alt + ↑:复制当前行到上一行(复制增加)

  - Ctrl + 1:快速修复,如果有红线,把光标定位到红线处,就会提示解决方法

  - Ctrl + d:删除当前行

  - Ctrl + o:快速显示outline

2017-11-26

1. 运行当前文件: ctrl + F11

转载于:https://www.cnblogs.com/wnzhong/p/7895326.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值