2010年8月3日 星期二

Use spket For mootools aptana plugin

安裝步驟如下:
1.下載安裝包含有Eclipse的Aptana Studio;
2.啟動Aptana,然後菜單:Help → Software Updates → Find and Install… → Search for new features to install → New remote site…
3.名稱可以輸入: “Spket”,URL是http://www.spket.com/update/
4.會提示重啟Aptana,重啟之;
5.Window → Preferences → Spket → JavaScript Profiles → New ;
6.輸入“ExtJS”點擊OK;
7.選擇“ExtJS”並點擊“Add Library”然後在下拉條中選取“ExtJS”;
8.選擇“ExtJS”並點擊“Add File”,然後在你的./ext-3.x/source目錄中選取“ext.jsb”文件;
(ext3.0正式版中不包含ext.jsb文件,需要手動Google一下找到rc版3.0中的ext.jsb,同樣可以使用)
9.設置新的ExtJS Profile,選中並點擊“JavaScript Profiles”對話框右手邊的“Defalut”按鈕;
10.重啟Aptana;

Create MooTools profile

Select the menu item Window > Preferences... to open the workbench preferences.
Select the Spket > JavaScript Profile preference page to display the installed JavaScript Profiles.
Click the New.. button. In the Name field, type MooTools as the name for the new profile. Then click OK.
Click the Add Library button. From the Library drop-down list, select MooTools. Then click OK.
Click the Add File button, choose mootools-xxx.js download from mootools.net (When choose compression type, No Compression is recommend)
Choose the MooTools profile created in step 3, click the Default button make it the default profile for all project. The default profile can also be configured per project by using Configure Project Specific Settings... link.
Click on OK to save the preferences.

摘自:
http://home.phpchina.com/space.php?uid=71776&do=blog&id=181715
http://www.spket.com/mootools-editor.html

沒有留言:

wibiya widget