Page 1 of 1

What program do you guys use to code lua?

Posted: Fri Oct 14, 2011 1:15 pm
by marvalis
Hey,
I have been looking at several programs to help me code lua (or decipher it):
eclipse
scite
codelite
emacs?

I cant really seem to get these to run a script for me (to learn a few things in lua). Most of these programs are made for C or java and not lua. It requires plugins and configuring these is beyond my current knowledge of these programs. I use gedit if I just want lua highlighting, so that is not a problem.

I can run the console in ToME itself, which is great, but I would like to be able to also run a script 'on the fly' outside of ToME.
So what are you guys using? Maybe I can learn from it.

Thanks.

Re: What program do you guys use to code lua?

Posted: Fri Oct 14, 2011 8:52 pm
by Dekar
I think all the cool guys use Notepad++, it only has syntax highlight.

Testing is always done ingame as far as I know, with the help of the log file to debug.

There is so much going on, and LUA is pretty lean with variable declaration that it doesnt make a lot of sense to test code bits on its own, especially in such a project when you are often going to access other "classes".

Re: What program do you guys use to code lua?

Posted: Sat Oct 15, 2011 10:08 am
by Sradac
yep, notepad++ for me

Very simple and intuitive to use, and it is very clean.

Re: What program do you guys use to code lua?

Posted: Sun Oct 16, 2011 6:33 pm
by magelike
See my next post.

Re: What program do you guys use to code lua?

Posted: Sun Oct 16, 2011 6:55 pm
by magelike
Actually, I just found http://www.jetbrains.com/idea/. Download that and install the lua plugin. Seems it might be alright.

Re: What program do you guys use to code lua?

Posted: Sun Oct 16, 2011 9:11 pm
by Dekar
What can it do with lua code?

Re: What program do you guys use to code lua?

Posted: Sun Oct 16, 2011 9:26 pm
by magelike
It's like Visual C++/C# for Lua. Autocomplete, inheritance/function/field indexing, automatic documentation generation, etc. I haven't gotten it to work quite right yet, but from what I've read, people are really fond of it.