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

Eclipse使用配置

时间:2015-05-07 20:30:21      阅读:239      评论:0      收藏:0      [点我收藏+]

标签:eclipse

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

目录

设置主题与字体

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 ”

代码自动补全

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 ”

添加行号

添加行号:
windows–>Preferences–>General–>Editors–>TextEditors
勾选“show line numbers

编码格式

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

取消改动Auto BuildingWorkspace

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

Eclipse使用配置

标签:eclipse

原文地址:http://blog.csdn.net/u012733519/article/details/45565589

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!