ZeroBrane Studio是一个轻量级的开源Lua IDE,具备代码自动补全、语法高亮、代码分析器、实时编码和调试功能,支持Lua 5.1、Lua 5.2、Lua 5.3、LuaJIT以及其他Lua引擎。ZeroBrane Studio是一个用Lua编写的跨平台应用程序,可在Windows(Windows XP以上)、LinuxmacOS(10.9以上)操作系统上运行。它使用wxWidgets工具箱和Scintilla组件进行文件编辑。

ZeroBrane Studio
ZeroBrane Studio
ZeroBrane Studio
原作者Paul Kulchenko
首次发布2012年1月18日,​12年前​(2012-01-18
源代码库github.com/pkulchenko/ZeroBraneStudio
编程语言Lua(使用wxWidgets工具箱
操作系统跨平台
类型IDE
许可协议MIT协议
网站studio.zerobrane.com

历史 编辑

ZeroBrane Studio是由Paul Kulchenko在2011年9月创造的,作为一种允许没有经验的用户运行和调试Lua应用程序的方式,[1] 最初是针对在移动设备上运行的Lua应用程序。它基于开源的Luxinia的Estrela Editor,[2] 一个开源的3D图形引擎。Estrela Editor是从2008年8月开始开发的,基于wxWidgets周边的wxLua包装器[3]所包含的一个样本应用程序。

ZeroBrane Studio的第一个公开版本于2012年1月发布。[4] 在项目的第一年,Estrela和ZeroBrane Studio的开发工作继续并行进行,在2012年10月,Estrela Editor项目被完全合并到ZeroBrane Studio项目。[2]

功能 编辑

集成解释器 编辑

ZeroBrane Studio为Lua 5.1、Lua 5.2、Lua 5.3和LuaJIT解释器提供集成和调试支持,集成到各种产品中。CoronaSDKCocos2d、Moai SDK、LÖVE、Gideros、Redis、Torch、Adobe LightroomNginx Lua脚本等等。[8]

有几本书籍[9][10][11][12]和教程[13][14][15][16][17]涉及使用ZeroBrane Studio与各种游戏和移动工具包。它还被用于移动应用开发的本科和研究生课程教学。[18]

调试 编辑

ZeroBrane Studio为执行Lua代码的应用程序提供本地、远程跨平臺的调试。调试器支持以下功能:逐步浏览代码,设置/删除断点,使用Watch窗口检查变量和表达式,使用Stack窗口检查带有本地值和upvalues(在当前函数的外部范围内定义的本地值)的调用堆栈,暂停/恢复正在运行的应用程序,以及在Console窗口运行Lua命令。

这个IDE还支持Corona SDK[19]和Gideros Mobile[15]软件开发工具包的设备上调试,应用程序在移动设备上运行,集成开发环境在桌面计算机上运行。

现场编程 编辑

除了调试Lua应用程序外,ZeroBrane Studio还支持现场编程,它可以在应用程序运行时对应用程序代码进行修改,并在应用程序中看到修改的结果。现场编程支持Lua解释器和其他一些环境。[20][21]

插件 编辑

ZeroBrane Studio支持用Lua编写插件[22] 开源插件库[23]目前列出了45个插件,范围从定制环境的简单插件到提供实时监视[24]、文档映射或分屏编辑的更复杂的插件。[25]

集成的教程 编辑

从项目网站上分发的ZeroBrane Studio的打包版本[26]包括Lua的教育材料,有50多个简单的脚本和例子,演示了Lua与Turtle图形和Spirograph脚本的使用。[27] ZeroBrane Studio支持注释中的Markdown格式,它支持文本格式和对其他Lua文件和外部资源的引用。它支持直接在IDE中执行Lua命令,以集成相关教程。

界面翻译 编辑

ZeroBrane Studio支持将界面翻译成不同的语言,[28] 提供一个包含所有应被翻译的文本的Lua文件。截止到2020年,用户社区已经贡献了11种语言的翻译。[29][30]

参见 编辑

  自由軟體主题

参考文献 编辑

  1. ^ Drawing trees with turtles. [2021-12-31]. (原始内容存档于2021-12-27). 
  2. ^ 2.0 2.1 Estrela Editor project page. [2021-12-31]. (原始内容存档于2018-11-16). 
  3. ^ wxLua project page. [2021-12-31]. (原始内容存档于2010-08-17). 
  4. ^ ZeroBrane Studio changelog. [2021-12-31]. (原始内容存档于2021-12-31). 
  5. ^ ZeroBrane Studio documentation. [2021-12-31]. (原始内容存档于2021-12-31). 
  6. ^ ZeroBrane Studio tutorials and demos. [2021-12-31]. (原始内容存档于2021-12-31). 
  7. ^ LuaDist package manager integration with ZeroBrane Studio. [2021-12-31]. (原始内容存档于2021-05-09). 
  8. ^ ZeroBrane Studio documentation: Debugging. [2021-12-31]. (原始内容存档于2021-12-31). 
  9. ^ Francisco Tufró (2013). Developing Mobile Games with Moai SDK (ch.2), Packt Publishing (March 25, 2013). ISBN 1-782-16506-1
  10. ^ Brian Burton (2013). Learning Mobile Application & Game Development with Corona SDK (p.324), Burtons Media Group; 1 edition (April 1, 2013). ISBN 978-1-937336-07-3
  11. ^ Jayant Varma (2012). Learn Lua for iOS Game Development (p.320), Apress; 1 edition (December 17, 2012). ISBN 1-430-24662-6
  12. ^ Robert Cook (2014). Introduction to Programming with Lua and the Corona Game Lab (ch.8), Cook's Books; 1.0 edition (February 28, 2014)
  13. ^ Using ZeroBrane Studio with Moai (it also works with LOVE). [2021-12-31]. (原始内容存档于2017-06-06). 
  14. ^ Debugging and live coding with Corona SDK. [2021-12-31]. (原始内容存档于2021-04-21). 
  15. ^ 15.0 15.1 Why and how to use Gideros with ZeroBrane Studio IDE. [2021-12-31]. (原始内容存档于2021-12-31). 
  16. ^ Using ZeroBrane Studio with Marmalade Quick 互联网档案馆存檔,存档日期June 15, 2013,.
  17. ^ Debugging Lua web applications using ZeroBrane Studio and Xavante. [2021-12-31]. (原始内容存档于2018-04-16). 
  18. ^ Mobile App Development course information. [2021-12-31]. (原始内容存档于2021-12-31). 
  19. ^ Corona on-device debugging. [2021-12-31]. (原始内容存档于2021-01-15). 
  20. ^ ZeroBrane Studio live coding. [2021-12-31]. (原始内容存档于2021-12-31). 
  21. ^ Twenty Minutes to Awesome - livecoding Gideros with ZeroBrane Studio 互联网档案馆存檔,存档日期July 11, 2014,.
  22. ^ ZeroBrane Studio plugin documentation. [2021-12-31]. (原始内容存档于2021-12-31). 
  23. ^ ZeroBrane Studio plugin repository. [2021-12-31]. (原始内容存档于2022-03-16). 
  24. ^ Plugin: Real-time watches. [2021-12-31]. (原始内容存档于2020-08-07). 
  25. ^ Plugin: Clone view. [2021-12-31]. (原始内容存档于2020-08-07). 
  26. ^ ZeroBrane Studio project page. [2021-12-31]. (原始内容存档于2016-01-18). 
  27. ^ ZeroBrane Studio EduPack. [2021-12-31]. (原始内容存档于2022-03-25). 
  28. ^ ZeroBrane Studio translation documentation. [2021-12-31]. (原始内容存档于2021-12-31). 
  29. ^ ZeroBrane Studio in seven languages. [2021-12-31]. (原始内容存档于2021-11-08). 
  30. ^ ZeroBrane Studio list of translation files. [2021-12-31]. (原始内容存档于2021-12-31). 

外部链接 编辑

  维基共享资源上的相關多媒體資源:ZeroBrane Studio