`
tinyhema
  • 浏览: 150688 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

eclipse配置

 
阅读更多
1. 常用快捷键列表

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

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

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

格式化代码,ctrl + shift + f

2. 中文字体调整
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"文件,右键 --> 显示,即可

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

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

相关推荐

Global site tag (gtag.js) - Google Analytics