首页 > 系统服务 > 详细

eclipse初始设置

时间:2016-02-12 12:52:30      阅读:397      评论:0      收藏:0      [点我收藏+]

1.界面显示设置

2.快捷创建的设置

  window->Customize Perspective->Shortcuts

3.修改编码为utf-8

  Preferences->General->Workspace

  此方法不彻底,彻底修改应该修改eclipse安装包下的eclipse.init文件,在末尾加上-Dfile.encoding=utf-8

4.修改字体

  Preferences->General->Appearance->Colors and Fonts

  15-16为宜

5.智能提示

  Preferences->Java->Editor->content assist

  找到Auto Activation triggers for Java

  输入   .abcdefghijklmnopqrstuvwxyz([{

6.显示行号

  Preferences->General->Editors->Text Editors->Show line numbers

7.快捷键

  Preferences->General->Keys

  Content Assist 自动补全 alt+/

8.更改jsp默认打开的方式

  perferences–>general–>editors->file associations

  选中*.jsp->在Associated editors 中将MyEclipse JSP Editor 设置为默认

9.取消Eclipse拼写检查

  perferences–>general–>Editors->Text Editors->spelling

  将Enable spell checking 复选框的勾选去掉

10.Eclipse注释模板

  Preference->Java->Code Style->Code Template

11.颜色设置

(1)Preferences->General->Editors->Text Editors->

  a. Backgroud colors 背景颜色 设置为RGB(204,232,207)

  b. Current line highlight当前行高亮颜色 RGB (162,215,167)

(2)Preferences->General->Editors->Text Editors->Annotations

  a. Occurrences 高亮辅助(145,208,151)

  b. Write Occurrences 变量名 高亮辅助(145,208,151)

(3)Preferences->JAVA->Editor

  a. Matching backets highlight 括号匹配高亮颜色 (0,128,255)

  b. Completion proposal background自动补全窗口的背景色(166,217,171)

eclipse初始设置

原文:http://www.cnblogs.com/libiyangblog/p/5186978.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!