PDA

View Full Version : LUA Coding on the Mac


unsane1
11-30-2004, 05:17 PM
What's the chance people actually care about this? I'm guessing pretty slim, but I figured I would throw it out there. If you're coding Lua on the Mac, here's a quick list of some of the decent tools out there:

SubEthaEdit: http://www.codingmonkeys.de/subethaedit/
A very cool app, allowing multiple people to work on a document simultaneously, and decent syntax handling and even a function popup, but it didn't seem to quite like all of the files I used it with (not grabbing all of the functions, mishandling comments, etc...). Still a pretty good choice, though it seems to have gotten slower, and has the old idea of one window per document. I'm sort of hooked on having a single editor with multiple documents available inside of it.

Smultron: http://smultron.sourceforge.net/
I haven't honestly looked at this one too much, but it seemed pretty decent, and hell, I think it even handle the multi-line comments correctly. Also allows you to have one window for multiple documents. If you use it, let me know your thoughts.

BBEdit Lua Language Module: http://www.mixicon.com/downloads/Lua_LM.sitx
This is one of my own invention, since I prefer working in BBEdit so much. I'm calling it a version 0.8 right now. It is not generating the function popup right now, and it doesn't handle multi-line comments correctly either, but I'm working on both of these issues. But you can't beat the power of working in BBEdit. Requires BBEdit 8.0 or higher. Also, if you notice any errors in it, missing keywords and such, just drop me a PM and I'll get a new version out. Installation instructions are included.

Cheers!

Bad Mojo
11-30-2004, 05:55 PM
As I recall, Eclipse also runs on Mac and it has a LUA editing plug-in as well. http://www.eclipse.org

unsane1
11-30-2004, 06:11 PM
100% correct, and one I just totally spaced out on, even though I have it all installed, thanks for catching my miss!

Dragonius
10-06-2005, 10:53 PM
Not sure if you're still around, but I had to make an account to say thanks for the BBEdit language module! :D

KarlKFI
10-11-2005, 07:08 PM
Mmm, I use to use BBedit a lot, but have grown used to Xcode. Know of any lua encoding for it?

edit: OMG i love Smultron. My new fav toy. It even has the shift-left shift-right that BBedit left out (unless they added it in a recent version that i missed) tho the hotkeys are cmd-K and cmd-L and not cmd-[ and comd-] like xcode, w/e. Thanks for locating that one.

BTW: this is very useful, I'm adding it to the knowledge base.

danuke
05-08-2007, 06:34 PM
howdy,
I can't get the BBEdit link to work. I just get a page of text characters.

Daviesh
05-10-2007, 12:08 PM
Scite (I don't use the WoWInterface one, it has had the guts hacked out of it) is platform independent, I am sure it could be quickly compiled for the Mac (for linux it is normally distributed as source code).

danuke
05-26-2007, 01:33 PM
Humm,
The BBEdit seems to download but I get something like this: hzq2pbj3*****
with the name changing at each dl.

danuke
05-27-2007, 10:31 PM
Also regarding the BBEdit Lua Language Module, my Mac thinks that it is an Excel binary document.
I can open it and it reads in part:
StuffIt!°
+ªÖ*õÿ
©õµ∂3ôüºT!⁄—XcŒ8˝ÒîÓbhÍX<äÛ{jïHôO†l¬Ω

Kharthus
05-28-2007, 11:58 AM
I personally use Nedit. It's a X11 app so you have to get used to using ctrl instead of command, but it works nicely and has good language coloring support.

danuke
06-12-2007, 03:48 AM
Too bad it does not work on a Mac,


Scite (I don't use the WoWInterface one, it has had the guts hacked out of it) is platform independent, I am sure it could be quickly compiled for the Mac (for linux it is normally distributed as source code).

I guess that unsane1 is not around. no responses to messages sent to him/her.

Horris
10-02-2007, 04:00 PM
TextMate is an excellent editor for the Mac that I use for pretty much everything. Of course, you'll have to shell out €39 (approx. $57USD) after the 30 day trial but I think it's 100% worth it. It has a Lua bundle that adds great syntax highlighting and code-completion.

TextMate: http://macromates.com/
Lua Bundle (SVN url): http://macromates.com/svn/Bundles/trunk/Bundles/Lua.tmbundle

danuke
01-14-2010, 05:07 AM
I have not been able to get a SciTE version for the Mac to work on a stable basis.
I am even having heck trying to get it from Mac Ports for some reason. The version that is included on the Source DL for the book Beginning Lua for World of Warcraft is for windows.

Scite (I don't use the WoWInterface one, it has had the guts hacked out of it) is platform independent, I am sure it could be quickly compiled for the Mac (for linux it is normally distributed as source code).

JMHammer
02-04-2010, 02:06 PM
If you're just looking for a text editor which will display line numbers, there are many Mac applications which will do this. A very good free text editor is TextWrangler:

http://www.versiontracker.com/dyn/moreinfo/macosx/18529