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