原文链接: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/