首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

Eclipse 支持jQuery 自动提醒

2012-11-10 
Eclipse 支持jQuery 自动提示1,Eclipse安装 spket 插件。(两种方式):?在线安装:Help-Install New Software

Eclipse 支持jQuery 自动提示

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 自动提示!!

热点排行