MyEclipse使用笔记

简单记录下个人常用的一些MyEclipse设置

 

VS颜色方案

Window-->Preference-->Java->Editor-->Syntax Coloring

Class RGB(43,145,175)
关键字 RGB(0,0,255)

字符串 RGB(163,21,21)

常用快捷键

ALT+/ 代码提示

CTRL+1 代码修复

CTRL+/ 注释、取消注释

CTRL+SHIFT+/ 多行注释、取消注释

ALT+上下箭头 上下移动本行代码

CTRL+SFIFT+F 格式化代码

 

智能提示

Window-->Preference-->Java->Editor-->Content Assist-->Auto activation triggers for java 将 . 替换为 .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ

代码格式化

(这里需要修改下格式化方案名称Profile name才能修改)

Java自动换行:Window-->Preference-->Java->Code Style-->Formatter-->Edit-->Line Wrapping-->Maximum line width:将默认的80改为200

Java注释自动换行:Window-->Preference-->Java->Code Style-->Formatter-->Edit-->Comments-->(左下角 Line Width)Maximum line width for comments:将默认的80改为200

IF ELSE换行:Window-->Preference-->Java->Code Style-->Formatter-->Edit-->Control Statements--> 'if else'里面的复选框全部选中

忽略未使用引用警告

 Window-->Preference-->Java-->Complier-->Errors/Warnings-->Unnecessary code-->Unused import:将Warning改为Ignore

SVN插件

Help-->Install from Site...-->Work with 选择插件地址粘贴到这里

http://subclipse.tigris.org/

 

 

posted @ 2014-03-20 21:44  懒惰的肥兔  阅读(438)  评论(1编辑  收藏  举报