码迷,mamicode.com
首页 > 系统相关 > 详细

eclipse初始设置

时间:2016-02-12 12:55:48      阅读:305      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!