Spket在Eclipse/MyEclipse下的安裝和配置(圖文教程)

來源:互聯網
上載者:User

 一、安裝Spket

第一種方法:網上更新方式

1.外掛程式首頁:http://www.spket.com
2.外掛程式名稱:Spket IDE
3.更新串連(Update Site):http://www.spket.com/update/
更新安裝方法:

1.[Help]-[Software Updates]-[Find and Install...]

2.[Search for new features to install] -> [Next]

3.[New Remote Site...] Name: "什麼都行,spketjs" URL: http://www.spket.com/update/--> [Finish]

 

第二種方法:網上下載spket-1.6.16.jar破解版(目前最新版本)

1.如果你的JDK在1.6以上,可以直接雙擊spket-1.6.16.jar運行安裝。

其它,使用命令列方式。(注意:自己切換命令列到spket-1.6.16.jar所在目錄)

2.

 

至此,安裝完成。

二、配置Spket

 

注意:如果在安裝spket過程中,你的eclipse或者Myeclipse是開啟的,請重啟eclipse或者Myeclipse。以便初始化外掛程式,下面才會在Preferences中看到 Spket選項。

基本步驟如下:
1)Window → Preferences → Spket ;

 

2)Spket → JavaScript Profiles → New, 輸入“ExtJS”點擊OK;


3)選擇“ExtJS” 並點擊“Add Library”然後在下拉條中選取“ExtJS”;


4)選擇 “ExtJS”並點擊“Add File”,然後在你的./ext-2.x/source目錄中選取“ext.jsb” 檔案;

 
5)設定新的ExtJS Profile,選中並點擊“JavaScript Profiles” 對話方塊右手邊的“Defalut”按鈕;

下面這個操作,根據自己需要設定(可以全選)。

 
6)重啟eclipse或者Myeclipse;

7)建立新的JS檔案並輸入: Ext這樣就可設定Ext Code代碼自動完成的功能。

效果如下:

 

 

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.