myeclipse 优化设置和常规设置

工欲善其事,必先利其器

  • 去除不需要的模块

window -> startup and shutdown 其中myeclipse EASIE XXX 都是应用服务器,以自己的情况而定.我就留下了tomcat喝weblogic.

  • 去除启动时的验证

window -> myeclipse -> validation 其中左边一栏为manul(手动),build(自动化).可以把右边的全部去掉.

  • 去除update index

window -> myeclipse -> maven4myeclipse 其中的Download repository index updates on startup给禁用掉.

  • 去除自带的tomcat

window -> myeclipse -> servers -> integrated sandbox -> myeclipse tomcat6 选择disable.

  • 去除自带的jdk

java -> installed jers 点击add添加并选择自己的jdk.

  • 设置jsp页面编码

window -> myeclipse -> files and editors 其中encoding选择ISO 10646/unicode(UTF-8).

  • 设置默认编辑窗口

general -> editors -> file associations 其中选择jsp将jsp editor设置默认;选择html将html editor设置为默认.

  • 设置代码提示

1、菜单window->Preferences->Java->Editor->Content Assist->Enable auto activation 选项要打上勾
2、windows-->preference-->workbench-->keys 下设置Content    Assist    的快捷键
3、window->Preferences->Java->Editor->Content Assist->Advanced   上面的选项卡Select the proposal kinds contained in the 'default' content assist list: 中把 Other Java Proposals 选项打上勾就可以了。

  • 设置类\方法注释

java -> code style -> code templates 在comment中设置

/**
 * @ClassName:     ${file_name}
 * @Description:   ${todo}(用一句话描述该文件做什么)
 *
 * @author         ${user}
 * @version        V1.0 
 * @Date           ${date} ${time}
 */

方法

/**
 * @Title:        ${enclosing_method}
 * @Description:  ${todo}(这里用一句话描述这个方法的作用)
 * @param:        ${tags}   
 * @return:       ${return_type}   
 * @throws
 * @author        ${user}
 * @Date          ${date} ${time}
 */

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值