1. 程式人生 > >Eclipse安裝和配置JS編輯器Spket(圖文教程)

Eclipse安裝和配置JS編輯器Spket(圖文教程)

一、Spket簡介

Spket是一個RIA的開發工具,具有程式碼自動完成、語法高亮、內容概要等功能,可以幫助開發人員高效的編寫JavaScript程式。

效果圖:

二、安裝Spket

1.去官網(http://www.spket.com/download.html)下載外掛。

2.解壓縮後,將features和plugins資料夾複製到eclipse的資料夾裡,重啟eclipse。

三、配置Spket

1.Window > Preferences > Spket > JavaScript Profiles > New, 輸入“my”點選OK。

2.選擇“my” 並點選“Add Library”然後在下拉條中選取“jQuery”。

3.選擇 “jQuery”並點選“Add File”,然後選取“jquery-1.3.2-jsdoc-Spket-profile.js”(下載地址) 檔案。

4.選擇“my” 並點選“Defalut”設定為預設。

5.Window > Preferences > General > Editors > File Associations,將js檔案的預設開啟方式設定為Spket Javascript Editor。

6.重啟eclipse,大功告成。

附上安裝所需檔案: