spket插件下載安裝 jQueryEclipse插件

Eclipse通過Spket增加JQuery提示的方法
1.增加在線更新源:Help->Install New Software…->Add…->Name: “Spket”,
Location:http://www.spket.com/update/

2.手動安裝:到http://www.spket.com/download.html下載 Plugin 版本, 當前版本爲1.6.18.下載解壓後直接放置於Eclipse的dropins目錄下,重啓Eclipse.
下載地址:http://download.csdn.net/detail/liaoqianwen123/9276993

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,將Spket JavaScript Editor設爲Default。

6.新建一個js文件,jQuery自動提示!!

發佈了57 篇原創文章 · 獲贊 16 · 訪問量 20萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章