Skip to content

Latest commit

 

History

History
86 lines (42 loc) · 2.33 KB

File metadata and controls

86 lines (42 loc) · 2.33 KB

Eclipse 安装使用教程

1 下载

官网: https://www.eclipse.org/downloads/packages

选择 Eclipse IDE for Enterprise Java Developers 版本

2 安装

3 使用

3.1 主题设置

主题下载: http://www.eclipsecolorthemes.org/

主题导入

file -- import -- general -- preferences -- 选择主题包 -- 导入

3.2 快捷键修改

Window -- preferences -- General-- keys

切换窗口快捷键(Next Editor) :Crtl + F6(默认)

3.3 文档提示

window -- perfences -- 搜索 content assist -- java -- content assist --

auto activation delay(ms) :提示延时

activation ttiggers for java : ".@":

activation ttiggers for javadoc : "#": 提示代码

3.4 编码格式设置
3.4.1 修改默认xml/jsp编码格式

window -- preferences -- 搜索 xml/jsp -- xml/jsp file -- Encodeing: utf-8

3.5 关闭自动更新

window -- preferences -- install/update -- automatic updates:automaticlly find...

--- 选择「取消」

3.6 修改 package 背景颜色(windows 7)

桌面 -- 个性化 -- 窗口颜色 -- 高级外观设置 -- 项目:窗口 -- 颜色:(204,232,207)

使用其他颜色

3.7 自动导包

Ctrl + Shift + O 除了自动导入需要的包之外还可以将多余的包去掉

3.8 插件安装

本地安装: help -- install new software -- add -- archive -- 选择所安装的jar/包含jar的zip压缩包

3.9 xml 文档提示

window -- preferences --- 搜索 xml -- xml catalog -- add -- localtion: 选择本地 xml 的约束文档

type:Schema localtion 或者根据情况而定

key: 指定的 uri (在 xml 的下边一般会有指定,将其复制粘贴到这里)

3.10 关闭错误报告数据(error reporting database)

window -- perfences -- general -- startup and shutdown -- 取消 Eclipse Automated Error Reporting

3.11 修改工作空间(workspaces)

window -- preferences -- general -- Startup and Shutdown -- Workspaces --

选中 Prompt for workspaces on startup