Eclipse常用优化
2016-06-14 17:00
489 查看
Eclipse优化设置
设置字体大小
Window-Preferences->General->Appearance->Colors and Fonts->Basic->Text Font (Consolas/粗体/小三)(根据个人爱好,自行选择)
选择喜欢的eclipse主题
http://eclipsecolorthemes.org/(根据个人爱好,自行选择)
tab代码缩进4个空格
Window->Preferences->General->Editors->Text Editors:Displayed tab width = 4
自定义代码注释
设置JSP编码格式
Window->Preferences->Web->Jsp Files->Encoding->UTF-8
设置其他文本编码格式
Window->Preferences->General->Workspace->Text file encoding->Other->UTF-8
设置另外文本编码格式
Window->Preferences->General->Content Types->default encoding->UTF-8,我将Text和Word Document设为UTF-8
Eclipse自动文本验证
Window->Preferences->Validation
保留manual(手动)部分,build下只留"classpath dependencyValidator"
手动验证:选中文件右击->Validation
Eclipse取消拼写错误验证(根据个人爱好,自行选择)
Window->Preferences->General->Editors->Text Editors->Spelling
取消勾选"Enable spell checking"
优化启动项,关闭部分功能
Window->Preferences->General->Startup andy Shutdown
看个人所需,如果不使用可以全部取消勾选
优化eclipse窗口、菜单项
移除所有用不到或不想用的内容(尽量使用快捷键),菜单栏也是如此(你用过几次菜单栏的打印按钮?),我个人习惯勾选如下
Eclipse JaveEE模式,Window->Perspactive->Customize Perspactive->Tool Bar Visibility
Window->Perspactive->Customize Perspactive->Shortcuts
勾选General内容如下:
勾选Java内容如下:
勾选Javascript内容如下:
勾选Web内容如下:
勾选XML如下:
最后,File->New效果如图:
保存自定义风格 Window->Perspactive->Save Perspactive As
切换到Debug模式,Window->Perspactive->Customize Perspactive->Tool Bar Visibility
最后切记保存自定义风格 Window->Perspactive->Save Perspactive As
我的最终elipse清爽风格
Alex-JaveEE
Alex-DeBug
关闭动画
General > Appearance > 取消勾选“Enable Animations”
使用默认的主题。其他主题可能会降低运行速度(根据个人爱好,自行选择)
Java > Editor > Content Assist > 禁用“Enable Auto Activation”
设置字体大小
Window-Preferences->General->Appearance->Colors and Fonts->Basic->Text Font (Consolas/粗体/小三)(根据个人爱好,自行选择)
选择喜欢的eclipse主题
http://eclipsecolorthemes.org/(根据个人爱好,自行选择)
tab代码缩进4个空格
Window->Preferences->General->Editors->Text Editors:Displayed tab width = 4
自定义代码注释
设置JSP编码格式
Window->Preferences->Web->Jsp Files->Encoding->UTF-8
设置其他文本编码格式
Window->Preferences->General->Workspace->Text file encoding->Other->UTF-8
设置另外文本编码格式
Window->Preferences->General->Content Types->default encoding->UTF-8,我将Text和Word Document设为UTF-8
Eclipse自动文本验证
Window->Preferences->Validation
保留manual(手动)部分,build下只留"classpath dependencyValidator"
手动验证:选中文件右击->Validation
Eclipse取消拼写错误验证(根据个人爱好,自行选择)
Window->Preferences->General->Editors->Text Editors->Spelling
取消勾选"Enable spell checking"
优化启动项,关闭部分功能
Window->Preferences->General->Startup andy Shutdown
看个人所需,如果不使用可以全部取消勾选
优化eclipse窗口、菜单项
移除所有用不到或不想用的内容(尽量使用快捷键),菜单栏也是如此(你用过几次菜单栏的打印按钮?),我个人习惯勾选如下
Eclipse JaveEE模式,Window->Perspactive->Customize Perspactive->Tool Bar Visibility
Window->Perspactive->Customize Perspactive->Shortcuts
勾选General内容如下:
勾选Java内容如下:
勾选Javascript内容如下:
勾选Web内容如下:
勾选XML如下:
最后,File->New效果如图:
保存自定义风格 Window->Perspactive->Save Perspactive As
切换到Debug模式,Window->Perspactive->Customize Perspactive->Tool Bar Visibility
最后切记保存自定义风格 Window->Perspactive->Save Perspactive As
我的最终elipse清爽风格
Alex-JaveEE
Alex-DeBug
关闭动画
General > Appearance > 取消勾选“Enable Animations”
使用默认的主题。其他主题可能会降低运行速度(根据个人爱好,自行选择)
Java > Editor > Content Assist > 禁用“Enable Auto Activation”
相关文章推荐
- WAS 安装配置JDK7
- java 利用反射机制,获取实体所有属性和方法,并对属性赋值
- 单线程解析文件,根据文件关键词进行统计,并将结果输出(一)
- java 文件下载
- struts2类型转换器
- java 继承与多态练习题目
- javaWeb项目中连接MySQL出现无法加载驱动的问题
- activiti教程(一)eclipse或者myEclipse安装Activiti designer插件
- [疯狂Java]正则表达式:Pattern、Matcher、String对正则表达式的支持
- Ubuntu14.04安装JDK与配置环境变量
- Spring 学习笔记
- 深入理解Java的接口和抽象类
- Jimoshi_Spring 框架学习(一)--Spring实现IOC思想、javabean对象、Spring对象和对象之间关系
- JAVA的静态变量、静态方法、静态类
- Java读写txt文件
- Spring Boot中使用Spring-data-jpa让数据访问更简单、更优雅
- java并发编程
- 由eclipse工程创建一个Android studio 工程
- java通过JDBC链接SQLSERVER2012
- JAVA学习路线图---(JAVA1234)