Eclipse配置

来源:互联网 发布:网络加密技术有哪些 编辑:程序博客网 时间:2024/05/29 13:51

记录下Eclipse的配置,以免下次更新Eclipse后烦恼

一、要下载的插件

  1. Babel–语言包,对于Eclipse Java EE IDE可以选择datatools、eclipse、mylyn、webtools
  2. Eclipse Color Theme
  3. Subversion–SVN管理工具
  4. Android Developer Tools–Android开发
  5. WindowBuilder Pro–Java GUI开发
  6. Spring Tool Suite–Spring开发
  7. JBoss Tools–hibernate开发
  8. properties editor–编辑properties文件,避免编码问题,推荐使用http://propedit.osdn.jp/index_en.html

二、字体设置

  1. 基准位置General–>Appearance–>Colors and Fonts
  2. Basic–>Text Font–>Consolas–>常规–>小五
  3. Java–>Java Editor Text Font–>Consolas–>常规–>14
  4. Structured Text Editors–>Structured Text Editor Text Font–>Consolas–>常规–>14

三、编码设置

  1. General–>Workspace–>Text file encoding–>UTF-8
  2. Web–>JSP Files–>Encoding–>UTF-8
  3. 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配置

  1. 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–>取消勾选不用的按钮

0 0