Spket的安装方法(两种方式):
1.在线安装:Help->Install New Software...->Add...->Name: "Spket",
Location: http://www.s pket.com/upd ate/ 下载完毕重启Eclipse.
2.手动安装:到 http://www.s pket.com/dow nload.html下载 Plugin 版本,当前版本为1.6.17.下载解压后直接放置于Eclipse的dropins目录下,重启Eclipse.
3.下载jQuery文件,(要下载开发版本).
4.设置spket ,Window -> Preferences -> Spket -> JavaScript Profiles-> New,输入“jQuery”点击OK; 选择“jQuery” 并点击“Add Library”然后在下拉条中选取“jQuery”;选择 “jQuery”并点击“Add File”,然后选中你下载的jQuery.js 文件;设成Default;
5.设置js打开方式(这一步很重要,不设置的话,也不会有jQuery的智能提示), Window -> Preferences->General-> Editors-> File Associations-> 选择*.js,将SpketJavaScript Editor设为Default。
6.新建一个js文件,jQuery自动提示!!
1.在线安装:Help->Install New Software...->Add...->Name: "Spket",
Location: http://www.s
2.手动安装:到 http://www.s
3.下载jQuery文件,(要下载开发版本).
4.设置spket ,Window -> Preferences -> Spket -> JavaScript Profiles-> New,输入“jQuery”点击OK; 选择“jQuery” 并点击“Add Library”然后在下拉条中选取“jQuery”;选择 “jQuery”并点击“Add File”,然后选中你下载的jQuery.js 文件;设成Default;
5.设置js打开方式(这一步很重要,不设置的话,也不会有jQuery的智能提示), Window -> Preferences->General-> Editors-> File Associations-> 选择*.js,将SpketJavaScript Editor设为Default。
6.新建一个js文件,jQuery自动提示!!