在Windows下安裝eclipse,按照http://luaeclipse.luaforge.net/manual.html#installation安裝luaeclipse 插件,但是無法輸出lua的打印結果到console,Google之後發現缺少一個環境變量,在run->run configurations 中lua standalone application 中environment 頁下添加一個變量 SystemRoot=C:/WINDOWS 即可。
原文link:http://lua-users.org/lists/lua-l/2010-07/msg00091.html