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.
2. Paste the URL for the update site into the Work With text box, and hit the Enter (or Return) key. 
3. 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.
复制代码

安装过程很慢。

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值