Questions tagged [zerobrane]

ZeroBrane Studio is a lightweight Lua IDE with code completion, syntax highlighting, remote debugger, code analyzer, live coding, and debugging support for several Lua engines.

ZeroBrane Studio is a lightweight Lua IDE with code completion, syntax highlighting, remote debugger, code analyzer, live coding, and debugging support for several Lua engines.

It is simple and instantly usable for beginners (as tested with middle and high school students with no programming experience), yet feature-rich and extensible for experienced developers. Unlike Eclipse and IntelliJ, it has a small footprint and is completely customizable with Lua. Unlike TextMate and Sublime Text, it includes a remote debugger and a full IDE feature set.

ZeroBrane Studio also provides several unique features: live coding for immediate feedback, Markdown formatting in comments for providing instructions with minimal context switching, and integrated interactive materials for those learning Lua or getting familiar with programming.

Feature highlights

  • Small, portable, open-source, and cross-platform (Windows, Mac OSX, and Linux).
  • Auto-completion for functions, keywords, and custom APIs.
  • Interactive console to directly test code snippets with local and remote execution.
  • Live coding with Lua (demo), Löve 2D (demo), Gideros (demo), Moai (demo), and Corona (demo).
  • Integrated debugger (with support for local and remote debugging), and more.

Source: http://studio.zerobrane.com/

137 questions
0
votes
1 answer

Zerobrane Studio IDE is giving "Uncaught lua script exception"

My Zerobrane Studio is giving an error and I can't get into it. I've done everything. Can someone help me?
0
votes
1 answer

How to analyze loaded files correctly

I'm still struggling to get my project analyzed how I would like. Here's what I've tried so far: Analyze File: Analyzes the current file, but doesn't analyze any loaded files (loadfile, dofile). Analyze All: Analyzes all of the files in the project…
Chef Niko
  • 15
  • 2
0
votes
1 answer

ZeroBrane Studio: top bar is unreachable. Window can't be moved

ZeroBrane Studio 1.90 on MacOS 10.15.7 The minimize, maximize buttons of the finder handle bar are not reachable since they are at a negative y position (outside the desktop screen) Fullscreen can be called via menu entry, but this is no help.
fah
  • 11
  • 5
0
votes
1 answer

Install Rapidjson in lua zerobrane studio

How can i install - import the rapidjson module into Zerobrane studio? i downloaded the luarocks, and runs the luarocks install rapidjson C:\Users\ODYSSEY\Desktop\ZeroBraneStudio>luarocks install rapidjson Installing…
0
votes
1 answer

This program does not work from terminal but works in zerobrane

x = 10 io.write("Enter the name of the variable you want to be printed: ") index = io.read() f = loadstring("return " .. index) print(f()) The above code gives this error when used in a terminal, but not when ran in zerobrane studio main.lua:874:…
0
votes
1 answer

Does zerobrane v1.9 support UTF-8 encoding now?

I wrote a Lua script with zerobrane, which can run in the editor, but it has a utf8 encoding error when it is called and executed by other languages, such as python. So, how should I set it?
0
votes
2 answers

Trouble compiling Zerobrane on Linux (Raspberry Pi)

I am trying to compile Zerobrane on a raspberry Pi 4. I ran: build-linux.sh all I am able to compile wxWidgets (3.1.4), but when I compile wxLua I get the errors shown below. Anyone know why this would be failing? The wxLua website indicate that…
0
votes
1 answer

LUA - ZeroBrane IDE: Compile feature

in ZeroBrane Studio if I use "Project - complile (F7)" - what exactly does happen? Will there be a standalone .exe created from my Lua code ? And if so - in which directory ? I use Windows 10. (Couldn't find any information in the documention)
Spacewalker
  • 451
  • 1
  • 8
  • 29
0
votes
0 answers

ZeroBrane Studio won't run? (MacOS)

It used to run just fine, but now when I run it, it simply sits on my bottom tray with no active window open. I tried uninstalling and reinstalling it (homebrew). I haven't tried previous versions since this one (1.90) seems to have worked fine for…
0
votes
1 answer

IDE for LUA and live debugging wireshark dissectors

I've been using LUA to create wireshark dissectors by editing the LUA file, filled with PRINT statements, and running Wireshark with the console open to trace the dissector. The edit/test cycle is cumbersome and I do a lot of iteration for simple…
buzzard51
  • 1,372
  • 2
  • 23
  • 40
0
votes
1 answer

How to run zerobrane inside Docker

I am switching from doing most of my development on a VM inside VirtualBox to Docker. Are there any instructions on how to set up ZBS in this environment?
0
votes
1 answer

ZB IDE search and replace extension types

I have two types of lua: 5.1 .lua extension and 5.1 Family Historian lua .fh_lua extension, I have several non-executable as stand alone files that have the extension .lua, all of my working code is extenison .fh_lua, mostly works well, and the…
0
votes
1 answer

version control with Zerobrane

I'm using Zerobrane and Corona SDK for my Lua project and would like to save my work and use version control to revert easily to an older version if necessary. I haven't found any way to do that with Zerobrane and noting mentioned in the…
remyremy
  • 3,548
  • 3
  • 39
  • 56
0
votes
2 answers

lua ZeroBrane Studio failed to initialize lua511.dll not found

First time user of Lua and installed version 5.3.5 then tried to install the IDE - ZeroBrane Studio. Unfortunately when I start ZeroBrane Studio it says the following: Failed to initialize editor The lua511.dll could not be found or loaded,…
tbellmer
  • 29
  • 4
0
votes
1 answer

Having difficulty getting ZeroBrane to highlight code, autocomplete, etc

https://i.stack.imgur.com/6VeWP.jpg Here is an example. For some reason code is simply not being highlighted using the Lua 5.2 interpreter. Autocomplete doesn't appear to be working correctly either. Also whenever I declare a function it doesn't…