Eclipse环境下Spket插件的安装方法(转)

Eclipse环境下Spket插件的安装方法(转)

转载:http://www.cnblogs.com/shulin/archive/2010/08/09/1796146.html

最近工作中用到jQuery插件,需要安装eclipse插件才能支持jQuery智能提示,在网上搜索了一下,常用的有三个插件支持jQuery的智能提示:
1.jQueryWTP
2.Spket
3.Aptana

一:jQueryWTP

通过官方介绍安装不成功;网址:http://www.langtags.com/jquerywtp/?page_id=11

在我的本机已经安装了org.eclipse.wst.jsdt.core_1.1.202.v201208171701.jar包的,经它一番折腾后,此插件在Eclipse中显示为“?”状态。只好卸载。

二:Spket

1.在线安装

Help->Install New Software...->Add...->Name: "Spket",
Location:http://www.agpad.com/update/ 下载完毕重启Eclipse.
2.手动安装

http://spket.com/download.html下载 Plugin 版本,当前版本为1.6.23。

下载解压后直接放置于Eclipse的dropins目录下,重启Eclipse.
3.下载jQuery

http://jquery.com/download/下载最新的jQuery文件,目前是1.9.0,(development jQuery 1.9.0)。
4.设置Spket

Window -> Preferences -> Spket -> JavaScript Profiles -> New,输入“jQuery”点击OK; 选择“jQuery” 并点击“Add Library”然后在下拉条中选取“jQuery”; 选择 “jQuery”并点击“Add File”,然后选中你下载的jQuery.js 文件;设成Default;
5.设置js打开方式

Window -> Preferences ->General-> Editors-> File Associations-> 选择*.js,将Spket JavaScript Editor设为Default。
6.新建一个js文件,jQuery自动提示!

三:Aptana

参考官方文章:http://www.aptana.com/downloads/start

复制代码
Installing via Eclipse

Please copy the following Update Site URL to your clipboard and then follow the steps listed below to add this URL to your Available Software Sites list. Attempting to access this URL using your web browser will return an Access Denied error.

http://download.aptana.com/studio3/plugin/install
1.From the Help menu, select Install New Software... to open the Install New Software dialog.

  1. Paste the URL for the update site into the Work With text box, and hit the Enter (or Return) key.
  2. In the populated table below, check the box next to the name of the plug-in, and then click the Next button.
    4.Click the Next button to go to the license page.
    5.Choose the option to accept the terms of the license agreement, and click the Finish button.
    6.You may need to restart Eclipse to continue.
    复制代码
    安装过程很慢。
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容