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
1
vote
1 answer

debugger syntax definition

Zerobrane has a color scheme but also shows underlining (some solid, some dotted) when viewing a .lua file. e.g., buttonMain.y = display.contentCenterY - ... where buttonMain is dotted underline & "display" is solid underline (only the word…
1
vote
1 answer

How to remap "Go to definition" and "Rename all instances" on ZeroBrane Studio?

I'm using ZeroBrane Studio 1.30 Is there any way to remap the Ctrl/Cmd-DoubleClick shortcut to something on the keyboard, like Ctrl-R? (Without the mouse click) on the user preferences? At the same time, is there a way to remap the "Go to…
Basilio German
  • 1,801
  • 1
  • 13
  • 22
1
vote
3 answers

Lua version in ZeroBraneStudio vs Torch

I am using ZeroBrane Studio as IDE to code deep learning. I have realized that the models I save when programming in the IDE (using Lua 5.1 as interpreter) do not load well when executing the same loading from Torch7. The same happens when learning…
1
vote
1 answer

ZeroBrane - how to clear debug window?

I wonder if there is a way to clear the "local console" pane in ZeroBrane. Sometimes it gets "clogged" with no way to clean it - for example checking _G produces massive amount of text and everything slows to halt afterwards. I am using v0.50 that…
Nas Banov
  • 28,347
  • 6
  • 48
  • 67
1
vote
1 answer

ZeroBrane - not running on ubuntu

I started using ZeroBrane studio in ubuntu for my Corona projects. For Corona to work i am using wine in ubuntu. After path to Corona SDK configuration i tried to run a simple project for testing purposes. But i got the following annoying error.…
code8x
  • 1,780
  • 12
  • 15
1
vote
1 answer

ZeroBrane's Analyze: "unknown global variable" on library objects

I started using Project / Analyze in ZeroBrane Studio for a Marmalade Quick project and i find it quite useful getting me straight on global vs local scopes. Here is an annoyance though: it points at the libraries - basically - as undefined…
Nas Banov
  • 28,347
  • 6
  • 48
  • 67
1
vote
1 answer

Turtle Library for Lua - text(String, int, int, int) - change font and text size?

Just a general question. Using text("Text", 0, 0, 0) how would I change the font and/or size of the text if at all possible? I was trying to make a timer - I've been using Lua for two or three years now to cheat through Math ("Is it okay if I use my…
1
vote
1 answer

Lua crashes when compiling test program

I'm looking to dip my toes into coding with Lua - I'm trying to find something to teach my 11-year-old son some programming skills (he's already mastered Scratch :) ). I'm completely new to Lua myself, but I have some background in other…
KenD
  • 5,280
  • 7
  • 48
  • 85
1
vote
2 answers

ZeroBrane DebugServer Connection Refused

I've been trying to use the ZeroBrane Debug Server to debug my app, developed using Gideros, while testing in the GiderosAndroidPlayer using the various examples available on the web and those which come in the ZeroBrane samples. Here is what I have…
0
votes
0 answers

How to change color of brackets, parentheses and braces in ZeroBrane IDE apart of operators?

I included this code into user.lua: styles.operator = {fg = {104,151,187}} The color of operators has changed, everthing is ok with operators, such as =, ==, <, but somehow 3 kind of brackets also changed their color. Please help me to change their…
0
votes
1 answer

Why Zerobranestudio Configuration error occurs?

Error while loading configuration file: 'cannot open C:\Users\안진형\Desktop\ZeroBraneStudio.zbstudio\user.lua: Invalid argument'. Error while loading configuration file: cannot open C:\Users\안진형\Desktop\ZEROBR~1\cfg\tomorrow.lua: Invalid argument What…
안진형
  • 1
  • 1
0
votes
1 answer

How to configure ZeroBrane with Corona simulator on MacBook

I installed Corona-36674 and ZeroBrane on a MacBook but I don't succeed to get the simulator working! In the user.lua I wrote: path.corona='/Applications/Corona-3664/Corona Simulator.app' but the simulator is not launched! Please help me!
0
votes
1 answer

Is it possible to assign editor styles to API tokens?

If I define my own API and I want to highlight values, classes and methods of my API in editor. How I can do it? Is it possible to assign some of keyword styles to api tokens? Here is my instead.lua in api folder of ZBS: return { instead = { …
Anton Zhuchkov
  • 361
  • 3
  • 9
0
votes
1 answer

Can ZeroBrane windows have a dark theme without using OS's high-contrast theme?

Just to clarify, I'm not talking about making the background of the editing frame or window dark via: local G = ... styles = G.loadfile('cfg/tomorrow.lua')('Zenburn') -- theme I'm talking about making the background of the Project frame/window,…
Rok
  • 862
  • 7
  • 9
0
votes
1 answer

ZeroBrane Studio runtime error with tab right-click menu "Save As..."

Right-clicking a tab in ZeroBrane Studio (1.90; MobDebug 0.706) and choosing "Save as..." gives (after entering a new name and clicking Save on the "Save file as" dialog) me the following runtime exception: This does not happen if I use "Save…
OppfinnarJocke
  • 1,038
  • 2
  • 9
  • 21