在Eclipse下如何安装插件

 

安装Eclipse插件有两种方式,一种是将插件中的pluginsfeatures下的文件直接copyeclipse的相应文件夹下,另一种是采用link方式,这种方式有两个好处:

1.       插件目录可以放在任意位置

2.       便于反安装

推荐采用第二种方式,此处以tk  htmleditor为例,方法如下:

1.       下载jar包:http://sourceforge.jp/projects/amateras/downloads/51002/tk.eclipse.plugin.htmleditor_2.1.0.jar/

2.       新建一个文件夹(任意位置),此处我在D:\Software\Dev 下建了个htmleditor,在htmleditor下新建plugins文件夹,将下载的jar包放进去。注意:插件目录(htmleditor文件夹)下文件夹必须遵守命令规范,即pluginsfeatures两个文件或其中之一

3.       打开eclipse安装目录的links文件夹,此处为D:\Software\Dev\eclipse\links

4.       新建一文本文件,打入path=插件位置(D:\Software\Dev\htmleditor)

path=D:\\Software\\Dev \\htmleditor

注意,此处反斜杠必须是转义的,即\\

clip_image001[4]

posted on 2011-08-29 17:18  yaksea  阅读(2493)  评论(0编辑  收藏  举报