Eclipse常用优化

Eclipse优化设置

  1. 设置字体大小
    Window-Preferences->General->Appearance->Colors and Fonts->Basic->Text Font (Consolas/粗体/小三)(根据个人爱好,自行选择)


  2. 选择喜欢的eclipse主题
    http://eclipsecolorthemes.org/(根据个人爱好,自行选择)

  3. tab代码缩进4个空格
    Window->Preferences->General->Editors->Text Editors:Displayed tab width = 4

  4. 自定义代码注释


  5. 设置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



  6. Eclipse自动文本验证
    Window->Preferences->Validation
    保留manual(手动)部分,build下只留"classpath dependencyValidator"

    手动验证:选中文件右击->Validation

  7. Eclipse取消拼写错误验证(根据个人爱好,自行选择)
    Window->Preferences->General->Editors->Text Editors->Spelling
    取消勾选"Enable spell checking"


  8. 优化启动项,关闭部分功能
    Window->Preferences->General->Startup andy Shutdown
    看个人所需,如果不使用可以全部取消勾选

  9. 优化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


  10. 关闭动画
    General > Appearance > 取消勾选“Enable Animations”

  11. 使用默认的主题。其他主题可能会降低运行速度(根据个人爱好,自行选择)

  12. Java > Editor > Content Assist > 禁用“Enable Auto Activation”


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值