Looking for a programming environment for Lua.

LUA Glider FTW.  Custom templates are sweet.   :ph34r:

Sublime

Amm, can you please elaborate a bit?

Lua Glider

I would really love to use an  Add-on for eclipse, however I’ve tried this one:

http://flashapplications.de/?p=946

and when I try to install the URL: http://luaeclipse.luaforge.net/update-site/site.xml

eclipse says it can’t find it… I’m going nuts with this lua

Sublime is a popular text editor that works well with many languages.

Notepad++ is another option (and is free), but doesn’t natively have autocompletion for LUA.

There’s also DECODA.

You mentioned Eclipse. Check out: http://www.eclipse.org/koneki/ldt/

+1 on Sublime.  It’s a simple editor out of the box with syntax highlighting, indentation support and easy to navigate between a directory of files.  There is a lot of power under the hood with its macros to make life easier in re-formating code, bulk search and replace and etc - but to start, it’s quick and gets what you need.  Sublime + Corona SDK in the background offer a good development combo.

What add-on do you guys use with Sublime to get the Corona APIs?

hi mikehaberle, how do you use corona SDK and eclipse with this Add-On?

I can write in lua now but I got error when I try to lunch the project.

and if I use sublime, how do I make it lunch in Corona SDK?

@JonPM
This is a good post for sublime
http://forums.coronalabs.com/topic/33883-anyone-using-sublime-text-2/?fromsearch=1

I have wanted to try Sublime but pages upon pages about how to set it up, ain’t noboddy got time for that!

Beats dealing with bugs in others. At lease it does to me

Lua Glider works for me. Some UI things are touchy, but overall it get the job done.

I have glider and like using it. Except it just feels cluttered to me. And have you seen all the bugs ppl post

Sublime Text!

Sublime Text!

Sublime Text!

Sublime Text!

Sublime Text!

Sublime Text!

Really… I’ve checked around, and there is no comparison. (except maybe Brackets, but it slows down pretty quickly - plus, it’s a work in progress)

And I don’t know what @jonjonsson is talking about - I got it, opened it, and there you go. Done.

  • C

I’ve now spent more than a day with sublime, setting up and using.

From Netbeans and Glider I’m accustomed to few things that I’m not willing to let go:

Problem: Live runtime error reporting. So when I make a mistake like forgetting to put ‘end’ or whatever, I know it instantly.

Solved: Installed https://github.com/lano78/SublimeCoronaSDK It’s not as nice as Glider, its harder to spot errors, but good enough.

Problem: Live diff from last commit. So when I add a new feature I see instantly what I’m changing where. Easy to review changes on the fly.

Solved: Found nothing for Mercurial, so converted to Git and installed GitGutter: https://github.com/jisaacks/GitGutter Again its not as nice, I can’t hover over and see before version etc. But alright anyway.

So my conclusion was that I was going to use Sublime because Glider is quite a battery hog Sublime is really cool and light.

But turns out I have been spoiled by Glider. I LOVE the fact that Glider highlights globals in my code. It saves much more time than I had realized. Specially these days when I’m doing GameCenter and Facebook integration and making a build every 5 minutes. Example, first screenshot is Sublime, error not so easy to spot, second is Glider and its really obvious.

Sublime: 

Glider:

I looked into adding as a plugin to Sublime, the Lua plugin above uses Luac which can list globals, but its not as easy as it sounds I think. 

@jonjonsson

i agree with you point above. i was the same way but after about a week of using sublime i got use to it and now i use it all the time. i will still use glider from time to time for certain things but 99% of the time its sublime now

Yeah I know what you mean. I just really miss that, the other things I can live without.

I looked a bit more into modifying or making a plugin and I’m half way there. Right now it lists the globals in the console as soon as they appear, just have to make it highlight them in the code. I guess I’ll make it my weekend project.

Just comment passing :slight_smile:

https://www.youtube.com/watch?v=KAWQc7ZK05U

glider, editor and the debugger, are really good if you learned the basics.