原文連結:http://hi.baidu.com/balduc0m/item/648093dad238bd2a39f6f78e
lua IDE for cocos2d-x development
--------
1.下載或者在你現在的eclipse裡面添加LDT,必裝,基本IDE
http://www.eclipse.org/koneki/ldt/
2.安裝eclipse marketplace client,推薦安裝,主要是方便一鍵安裝外掛程式。安裝以後,下面的其它一些外掛程式,可以直接從marketplace裡面安裝
http://www.eclipse.org/mpc/
3.egit,用git的話推薦安裝
http://www.eclipse.org/egit/
4.eclipse start explorer,推薦安裝,你可以在一個檔案上面右鍵,"open in explorer"或者"open in shell"
http://basti1302.github.io/startexplorer/
5.anyEdit。LDT現在不支援點擊一個module name跳轉到那個檔案,安裝這個外掛程式後,你可以ctrl + alt + r,Open file under cursor
http://marketplace.eclipse.org/content/anyedit-tools#.UftYPJJmiSo
-------------configuration for cocos2dx-------------------------
6.使LDT支援quick-cocos2dx的API提示(許多API和cocos2dx相同),具體做法參考下面這篇文章
http://www.swfdiy.com/quick-lua-eclipse/
7.LDT在變數後面添加註釋後,是支援對變數的提示的,見
http://wiki.eclipse.org/Koneki/LDT/User_Area/New_and_Noteworthy/New_and_Noteworthy_1.0
Explicit Variable Description & Typing
It's now possible to type and set a description for a variable by adding a comment before or after its declaration. Typing a variable allow to have auto-completion on it and explicit your code.
8.LDT支援對EXE內部LUA引擎的調試,具體做法在你安裝LDT後,可以去看LDT的文檔的Attack Debug這一節。
------------ another lua ide-------------------------
又發現了Lua Glider,支援跨lua檔案的提示和函數定位,閱讀代碼、寫代碼會比LDT更舒服,需要購買。
http://www.mydevelopersgames.com/Glider/