2010年9月23日 星期四

拿Eclipse當作PERL的IDE -- 使用EPIC(Eclipse Perl Integration)

平常都用什麼在刻perl呢?



除了vim還是vim

但是除了vim之外也有用過 Padre, the Perl IDE 


(安裝方式請參考另一篇 PERL PORTABLE - 2 - GUI )


Padre本身就是用perl刻出來的, 沒有繼續用它純粹是因為自己懶惰比較習慣用vim


那最近又有某些因素需要碰Eclipse, 不可免的, 還是先找了找和perl有關的東西


就發現了 EPIC (Eclipse Perl Integration) 


有好幾個功能相當不錯, 


像是
On-the-fly syntax check 可以方便先檢查syntax error
Content assist 可以方便選擇該使用的凾式或是變數名稱

其他的就如同網頁寫的那樣.

而安裝方式也很容易
1. 安裝 perl (我安裝的是Strawberry Perl for Windows)
2. 安裝 Eclipse
3. 安裝 EPIC plug-in : 
    a.打開 Eclipse 選擇 Help -> Install New Software
    b.在 Work with 後面填上 http://e-p-i-c.sf.net/updates 
    c. 安裝
    
4. 設定
    a. 打開Eclipse 選擇 Windows -> Preferences -> Perl EPIC
    b. 填上電腦上perl.exe的位置

5. 完工


沒有留言: