eclipse

来源:互联网 发布:sql拼接字符串 编辑:程序博客网 时间:2024/06/05 15:23

Plugins sites

scala-ide

pydev: http://pydev.org/updates

run-jetty-run

OpenExplorer: https://cloud.github.com/downloads/samsonw/OpenExplorer/OpenExplorer_1.5.0.v201108051513.jar

m2e: http://download.eclipse.org/technology/m2e/releases

egit

subclipse

MyEclpse速度优化

1、关闭自动更新

    Window > Preferences > Myeclipse > Maven4Myeclipse > Maven > 
    禁用Download repository index updates on startup。 


2 、关闭validation 
    validation有一堆,什么xml、jsp、jsf、js等等,没有必要全部都去自动校验一下,只是需要的时候才会手工校验一下。
    windows > perferences > myeclipse > validation  > 
    禁用Build列下的全部选项。

    如果你需要验证某个文件的时候,我们可以单独去验证它。
    方法是:在需要验证的文件上:右键 -> MyEclipse -> Run   Validation 。


3、 关闭不需要启动的模块 
    Window > perferences > General > Startup and Shutdown > 
    将Plug-ins activated on startup 中的复选框有选择性的勾选去掉。


4 、去掉MyEclipse的拼写检查
    Window > perferences > General > Editors > Text Editors > Spelling > 
    禁用Enable spell checking。 


5 、修改MyEclipse编辑JSP页面时的编辑工具 
    Window > perferences > General > Editors > File Associations > 

    在File types 中选择 *.jsp > 在Associated editors 中将"MyEclipse JSP Editor"设置为默认。 

Eclipse 签名

window->preference->java->code styple->code template->code->New Java files->edit,编辑内容,例如:


${filecomment}
${package_declaration}
/**
* @author XXX E-mail:XXX@163.com
* @creatdate:${date} ${time}
* @
*/
${typecomment}
${type_declaration}

Eclipse使用dropins的插件安装方式

1. 最简单的,直接将jar包放到dropins目录下
eclipse/

    dropins/


2. 传统格式,统一放到一个eclipse目录下
eclipse/
    dropins/
        eclipse/
             features/

             plugins/


3. 按照插件名称区分
eclipse/
    dropins/
        eclemma/
            features/
            plugins/
        sqlexplorer/
            features/

            plugins/


4. 类似links方式添加链接
eclipse/ 
    dropins/ 
        eclemma-1.5.3.link 
其中eclemma-1.5.3.link的内容:path=J:\\**\\eclipseplugins\\eclemma
实际插件的位置和文件是:
J:/**/eclipseplugins/
    eclemma/
        features/
        plugins/


如果只安装一个Eclipse的话建议采用第三种,安装多个Eclipse的话采用第四种。 
注意:如果发现安装了插件但没有效果,可以删除eclipse主目录下的\configuration\org.eclipse.update后,再在命令行方式下,进入在Eclipse根目录(eclipse.exe所在目录)通过“eclipse –clean”的命令来启动Eclipse,clean命令会告诉Eclipse重新搜索并加载所有的插件信息。

原创粉丝点击