ITeye博客

eclipse配置

tinyhema · 2014-11-27 14:49 · 编程语言 · Markdown

  1. 常用快捷键列表

打开类,ctrl + shift + t 打开文件,ctrl + shift + r

outline,ctrl + o 跳转到声明,F3 查看类继承树,F4

删除行,ctrl + d 注释,ctrl + / 补全,alt + /

格式化代码,ctrl + shift + f

  1. 中文字体调整 eclipse 3.7以后中文字体太小,调整如下 菜单路径:Windows ==> Preferences ==> General ==> Appearance ==> Color and Fonts 修改项: Java --> Java Editor Text Font Java --> Javadoc display font Java --> Properties File Editor Text Font

Structured Text Editors --> Structured Text Editor Text Font

将字体设为:Courier New 字形设为:常规 大小设为:10

2.1 看不到Courier New问题 win7会有这个问题,win7下"Courier New"字体默认隐藏,需要设置为显示, 操作路径:进入C:\Windows\Fonts,选择"Courier New"文件,右键 --> 显示,即可

  1. 导入模板文件 Window -- Preference -- Java -- Code Style 下面有"Clean Up","Code Templates","Fomatter"3个,选择各自的模板导入即可

  2. 必选插件

m2e, 在eclipse market中搜索maven,安装“Maven Integration for Eclipse xxx” subclipse, http://subclipse.tigris.org/update_1.6.x,现在升级到svn1.8了,market搜索subclipse并安装 ExploreFS, help - install new software, http://www.junginger.biz/eclipse/ nodeclipse editbox, ,market安装 jadclipse, market安装"jadClipse for Eclipse 4.x",配置:取消勾选“重用缓存代码”、勾选“以注释的方式输出原始行号信息”、勾选“根据行号对齐代码以便于调试”

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。