记录下Eclipse的配置,以免下次更新Eclipse后烦恼
一、要下载的插件
- Babel–语言包,对于Eclipse Java EE IDE可以选择datatools、eclipse、mylyn、webtools
- Eclipse Color Theme
- Subversion–SVN管理工具
- Android Developer Tools–Android开发
- WindowBuilder Pro–Java GUI开发
- Spring Tool Suite–Spring开发
- JBoss Tools–hibernate开发
- properties editor–编辑properties文件,避免编码问题,推荐使用http://propedit.osdn.jp/index_en.html
二、字体设置
- 基准位置General–>Appearance–>Colors and Fonts
- Basic–>Text Font–>Consolas–>常规–>小五
- Java–>Java Editor Text Font–>Consolas–>常规–>14
- Structured Text Editors–>Structured Text Editor Text Font–>Consolas–>常规–>14
三、编码设置
- General–>Workspace–>Text file encoding–>UTF-8
- Web–>JSP Files–>Encoding–>UTF-8
- Web–>JSP Files–>Editor–>Templates–>使用下面的模板
<%@ page language="java" contentType="text/html; charset=${encoding}" pageEncoding="${encoding}"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=${encoding}">
<title>Insert title here</title>
</head>
<body>
</body>
</html>
四、Team配置
- Team–>Ignored Resources–>1、.settings
2、.svn
3、*/build/
4、.classpath
5、.project
2、Team–Git–default repository folder
3、Team–SVN–SVN接口–开源中国需要使用SVNKit,其他情形未知
4、Team–在比较编辑器中显示文件作者
–在资源的文本标签中显示所有同步信息
三、设置
1、General–>Startup and Shutdown–>移除所有在启动时加载的插件(Plug-ins activated on startup)
2、General–>Appearance–>Theme–>选择Classic主题
3、General–>Editors–>Text Editors–>Spelling–>关闭拼写检查
4、General–>Web Browser–>Use external web browser
5、JAVA–>Editor–>Content Assist(内容辅助)–>Auto activation triggers for Java(Java的自动激活触发器)
6、Install/Update–>Automatic Update–>取消勾选Automatically find new updates and notify me
6、Windwos–>Perspective–>Customize Perspective–>取消勾选不用的按钮