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 Output Window truncates output displayed

I have been unsuccessful in discovering how to force the "output window" in Zerobrane to show the entire output. My setup is inserting a CR at about column 80 followed by a few characters and ... on the next line. My dozen searches for various key…
0
votes
0 answers

How to display RGB image in zerobrane studio?

On Ubuntu 14.04, if I run the following code within the qlua interpreter invoked via the command line (with or without the first line), it displays the Lena image : require('mobdebug').start() -- for image.display() require…
DJensen
  • 1
  • 2
0
votes
1 answer

attempt to index global 'torch' (a nil value)

When I run a simple piece of code a = torch.Tensor(5,3) in ZeroBraneStudio, I receive the following error: attempt to index global 'torch' (a nil value) Does this mean that ZeroBraneStudio does not recognize Torch?
A.M.
  • 1,757
  • 5
  • 22
  • 41
0
votes
0 answers

LuaSocket dll loading error

I connected my project (C++ VS2015 & lua 5.3) to ZeroBrane IDE debugger via luasocket and all works like expected: package.path = package.path .. ';./scripts/zerobrane/?.lua' package.cpath = package.cpath .. ';./scripts/zerobrane/?.dll' local…
Alprog
  • 103
  • 2
  • 10
0
votes
1 answer

Lua expected near 'print'

I'm having trouble with in lua. Problem one: Every time I run the following program the console tells me: 'end' expected (to close 'function' at line 1) near 'local' Please notice where I've marked in all caps comments details about the…
Inertia
  • 3
  • 1
  • 5
0
votes
1 answer

ZeroBrane - Debug Corona SDK on linux

I'm starting to work with ZeroBrane for Corona SDK Starter license development under Linux using Wine. The problem is that i cannot make it work the debugger by adding breakpoints over different sections of the code. The Corona Simulator path on the…
Gareve
  • 3,372
  • 2
  • 21
  • 23
-1
votes
1 answer

Application doesn't launch from ZeroBrane Studio

I'm having a lot of problems with ZeroBraneStudio! I enjoyed using it to write my first application on Windows, but now I fail to make it working on MacBook Air and even on WIndows after reinstalling Solar2D and ZeroBrane! If I launch my app opening…
-1
votes
1 answer

Uncaught lua exception error in zerobrane, any solution?

Zerobrane version v1.90 This error is caused after I put the following code into user preference: styles.indicator.fncall = {fg = {-110,0,0}} --I got this in documentation page of zerobrane I tried to reinstall zerobrane(both portable version and…
BlaztOne
  • 180
  • 1
  • 10
-1
votes
1 answer

Is there a way to debug lua application without 504 ERROR?

My goal is to debug lua app running on nginx in vm remotely from my computer with ZeroBrane. I succeed to activate the debugger, but Nginx 504 gateway timeout error causes the debugger to terminate (because the server doesn't respond in time in…
dan245
  • 3
  • 3
-1
votes
1 answer

ZeroBrane Studio for NodeMCU

I want to add all neccesary to use Zbstudio for NodeMCU development Some time ago I've create the autocompletation ( https://github.com/hiperiondev/nodemcu-api-zerobrain ) and some initial menus for this. Now I need to add in bottom tabs a serial…
-1
votes
1 answer

How to do code review using Lua-Inspect ,ZeroBrane

I am new to lua language and I have written a lua code of which i want to do code review using lua-inspect . I am using ZeroBrane studio as an IDE.
-1
votes
1 answer

Different behavior when assigning a function to a variable or a table

I have got a different behavior between a table and a simple variable assignation with a function. This difference does not exist when assigning a number for instance. -- works fine arrNum={1234} Num=arrNum[1] -- Num=1234 arrNum[2]=arrNum[1] --…
user1771398
  • 475
  • 6
  • 18
-1
votes
3 answers

Install ZeroBrane Studio on Linux

I downloaded ZeroBraneStudioEduPack-1.40-linux.sh and ran it, but I cannot find the IDE anywhere. Here is the output when I ran ./ZeroBraneStudioEduPack-1.40-linux.sh # ./ZeroBraneStudioEduPack-1.40-linux.sh Verifying archive integrity... All…
Ian
  • 933
  • 12
  • 17
-2
votes
1 answer

What do the arguments "*line" and "*all" for io.read() do?

I tried the following two codes on a test.lua file and they worked the same except for when i used '*a' i was able to type multiple lines of input. l = io.read('*l') print(i) a = io.read('*a') print(a) I want to know if that is all to the '*a'…
-2
votes
1 answer

ZeroBrain Studio cant open utf-16 le codind ini file

Im tryin to open uft 16 le code ini file in Zerobarane Studio and get error: Binary file is shown as read-only as it is only partially loaded. However it opens fine in win 10 notepad.
1 2 3
9
10