如何在MyEclipse 8.0M1上安裝Ext

myeclipse下使用ext的插件有三種方式

1:配置在線使用:

打開myeclipse:

1、選擇Help -> Software Updates -> Find and Install...-> Search for new features to install ->New remote site...
Name: "Spket", Url: " http://www.spket.com/update/" 下載完畢重啓 Eclipse

2、Window -> Preferences -> Spket -> JavaScript Profiles -> New ;
輸入“ExtJS”點擊OK;
選擇“ExtJS” 並點擊“Add Library”然後在下拉條中選取“ExtJS”;
選擇 “ExtJS”並點擊“Add File”,然後在你的./ext-2.x/source目錄中選取“ext.jsb” 文件;

3、設置新的ExtJS Profile,選中並點擊“JavaScript Profiles” 對話框右手邊的“Defalut”按鈕;

4、 JS打開方式爲 Window -> Preferences ->General-> Editors-> File...選擇JS 爲 Spket JavaScript Editor(default)*********(這個不要忘!!!)

2:是下載spket-1.6.16.jar包安裝


轉載地址: http://blog.csdn.net/elifefly/archive/2009/01/10/3745637.aspx


一、安裝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” 文件(注:是下載的ext的源文件和api文檔);

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

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

6)重啓eclipse或者Myeclipse;

7)創建新的JS文件並輸入: Ext這樣就可設置Ext Code代碼自動完成的功能。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章