【Eclipse】 Eclipse使用记录

Eclipse基础配置:各种原因重新安装Eclipse得重新配置自己熟悉的Eclipse开发界面,故将自己熟悉的配置在博客中记录下来:

1. 设置主题与字体

Eclipse主题设置

Favorite Eclipse Color Theme:Oblivion
If you are on Eclipse 3.6 (Helios), the easiest way to install the plugin is from the Eclipse Marketplace. Go to Help→Eclipse Marketplace…, then search for Eclipse Color Theme and install it.
If you are on Eclipse 3.5 (Galileo), go to Help→Install New Software…, press Add Site and enterEclipse Color Theme as the name and http://eclipse-color-theme.github.com/update as the URL. Then select the new entry from the select box labeled Work with, mark Eclipse Color Theme for installation and proceed.
Please note: If you are using a version of the plugin lower than 0.6, please uninstall and reinstall it following the instructions above. Update site and plugin ID have changed.
After the installation, go to Window→Preferences→General→Appereance→Color Theme to change the color theme.

Eclipse字体设置

Java编辑区字体设置

推荐字体:Consoles、Courier New

windows->Preference->General->Appearence->Colors And Fonts
->Java->Java Editor Text Font->Edit->Apply->OK

XML编辑区字体设置

window–preferences–General–appearance–colors and fonts–Basic– “Text font ”

2. 代码自动补全

Eclipse java代码自动补全

Window->preferences->Java->Editor->Content Assist 再右下角Auto activation triggers for Java里面改为

abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789

Eclipse xml文件自动补全

Windows->preferance->XML->XML Files->Editor->Content Assist
面板最上端 Auto Activation 将Prompt when these characters are inserted后面的文本框中的“<=:”替换成

“<=:abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ”

3. 添加行号

添加行号:

windows–>Preferences–>General–>Editors–>TextEditors
勾选“show line numbers

4. 编码格式

推荐使用UTF-8

Windows–>Preferences->General->Appearances->Workspace->Text fike encoding->Other(UTF-8/GBK)

5. 取消改动Auto BuildingWorkspace

具体操作: Project -> Build Automatically
效果: 在代码修改保存后,不会启动自动编译

6. Eclipse 快速导航栏取消与打开

这里写图片描述

7. Eclipse 编辑区文件快速定位到左边资源文件

这里写图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值