增强Eclipse的自动代码提示功能

增强Eclipse的自动代码提示功能:
1.首先进入Window -> Preferences -> Java -> Editor -> Content Assist。
2.将"Auto Activation triggers for java"设置为".abc"(默认是"."), 点"Apply"应用。
3.导出目前的Eclipse配置文件: File -> Export -> General -> Perferences, 选择保存路径, 保存得到*.epf文件。
4.用文本编辑器打开刚才保存的*.epf文件, 搜索".abc",将".abc"部分改为".abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ(," (以上为自动提示的触发字符,根据个人习惯设置), 保存此配置文件(个人觉得不太好用,容易出错)。

5.导入此配置文件: File -> import -> General -> Perferences, 导入修改后的配置文件.第一个选项为反应时间,可设为100左右(默认200)。

  1. 关闭自动更新:
    1.Eclipse:首先进入Windows –> Perferences–> Install/Update -> Automatic Updates,不要勾选"Automatically find new updates and notify me"。
    2.Myeclipse:
    1)首先Windows –> Perferences–> MyEclipse... -> Community Essentials&nbsp,不要勾选"Search for new features at startup"。
    2)Windows –> Perferences–> MyEclipse... -> Maven4MyEclipse,不要勾选"Download repository index updates on startup" 。

    • MyEclipse耗内存的注意事项:

      1.老是弹出Quick update error这个问题的解决办法是关闭自动更新Windows > Preferences > MyEclipse Enterprise Workbench > Community Essentials,把选项 "Search for new features on startup"的前勾去掉即可。

      2.关闭updating indexesWindow > Preferences > Myeclipse Enterprise Workbench > Maven4Myeclipse > Maven>禁用Downloadrepository index updates on startup。

      3.关闭MyEclipse的自动validationwindows-->perferences-->myeclipse-->validation将Build下全部勾取消如果你需要验证某个文件的时候,我们可以单独去验证它。方法是,在需要验证的文件上( 右键 ->MyEclipse -> Run Validation。

      4.启动优化,关闭不需要使用的模块Window > Preferences > General > Startup andy Shutdown 在这里列出的是MyEclipse启动时加载的模块我这里只让它加载tomcat5 勾选 MyEclipse EASIE Tomcat 5。

      5.在myeclipse 7.0版本以上时,window-preferences-MyEclipse Enterprise Work-Maven4MyEclipse-Maven, 取消选中Downloadrepository index updates on startup。

      6.关闭更新调度:window --> preferences --> General --> Startup and Shutdown --> AutomaticUpdates Scheduler,去掉前面的勾选。



posted @ 2013-09-04 13:36  改变你我  阅读(344)  评论(0编辑  收藏  举报