用eclipse寫JQuery(1)

雖然用筆記本就可以寫JQuery

但是對我這個初學者來說還是有點麻煩就是了

畢竟很多語法都還不是很熟,沒有智能感知還真的得邊寫邊查

最後終於發現eclipse+Aptana 就可以有下圖的功能

所謂工欲善其事,必先利其器就是這個道理吧

官方安裝Aptana說明

底下是自個翻譯+轉錄E-Office學園

1.打開Eclipse->Help->Software Updates->Find and Install

2.

3.New Remote Site

4.輸入名稱,URL輸入http://update.aptana.com/install/studio/3.2/,OK->Finish

5.勾選Aptana,按下finish

6.下載完後,Install All

7.設定一下XP防火牆(如果是XP的話)

8.開個js檔案體驗一下吧!(還提供瀏覽器支援與否的提醒!

PS:
如果Eclipse預設是以其它的Javascript Editor(ex:JSEclipse)開啟js檔案,
可以在js檔案上按右鍵->Open With->Aptana JS Editor。

也可以設定預設開啟js檔案的Editor,
Window->Preferences->General->Editors->File Associations,
上面選*.js,
下面選Aptana JS Editor並按Default讓其成為預設開啟js檔案的Editor。

留個言吧

防止機器人留言: