踏上原路

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

1,Eclipse安装 spket 插件。(两种方式):

 在线安装:Help->Install New Software...->Add...->Name: "Spket", Location: http://www.spket.com/update/   下载完毕重启 Eclipse 。

 手动安装:到http://www.spket.com/download.html 下载 Plugin 版本,当前版本为1.6.17。下载解压后直接放置于Eclipse的dropins目录下,重启Eclipse。

 

2,下载jQuery文件,(要下载开发版本)。

3,设置spket。

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

4,设置js打开方式。

Window -> Preferences ->General-> Editors-> File Associations-> 选择*.js 将 Spket JavaScript Editor设为Default。

5,新建一个js文件,jQuery 自动提示!!

posted on 2013-07-17 15:44  踏上原路  阅读(164)  评论(0编辑  收藏  举报