Eclipse jQuery plug-in(自动补全)
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->