[OSX | Coda Addon] - LUA-Highlighting for Panic's Coda

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
Gruni
Prole
Posts: 6
Joined: Sat Jan 31, 2009 8:54 am
Location: Nehren, BW, Germany
Contact:

[OSX | Coda Addon] - LUA-Highlighting for Panic's Coda

Post by Gruni »

Hey hey, guys. Since I started learning LUA today, I looked for a good editor for OSX. No luck at all. So I decided to make an LUA-Highlighting-Addon for my beloved Coda (http://www.panic.com). It's not perfect... It supports the most basic LUA-Functions and some constants and parts of the Löve-Environment. Right now, there is no support for the "hints". That may come later... but for now, it's really cool to work with. I löve it. :) Have fun with it.

Screenshot:
Image

Download:
http://www.acrowdapart.net/files/LUA.mode.zip

Instructions:
- Download
- Unzip
- Put the folder called "LUA.mode" into /Users/<your username>/Library/Application Support/Coda/Modes/
- (re)start Coda (if it's already running)
- Have fun with Coda supporting LUA-Syntax. :)

It's based on Perl.mode since that was the thing that looked most logical to me.

Feedback and "Feature-Support" is welcome.

ToDo:[b/]
- Add Löve2D-Specific functions (As you can see on the screenshot, setFont is recognized as a "known" function (purple), but newImage isn't (blue). I will fix this within the next couple of days....
- Add Hint- and Documentation-Support

Gruni
User avatar
Fizzadar
Prole
Posts: 30
Joined: Mon Oct 26, 2009 6:18 pm

Re: [OSX | Coda Addon] - LUA-Highlighting for Panic's Coda

Post by Fizzadar »

Old topic, but posting because this is so incredibly useful :)

One thing that bugs me is the lack of --[[]] comment support, but apart from that, perfection! Been looking for a coda Lua mode for _AGES_
User avatar
bmelts
Party member
Posts: 380
Joined: Fri Jan 30, 2009 3:16 am
Location: Wiscönsin
Contact:

Re: [OSX | Coda Addon] - LUA-Highlighting for Panic's Coda

Post by bmelts »

There's also this, which is for Xcode 3. It's got no LÖVE-specific highlighting, though.
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: [OSX | Coda Addon] - LUA-Highlighting for Panic's Coda

Post by Jasoco »

I just use TextWrangler. It color codes all kinds of code types.
User avatar
Gruni
Prole
Posts: 6
Joined: Sat Jan 31, 2009 8:54 am
Location: Nehren, BW, Germany
Contact:

Re: [OSX | Coda Addon] - LUA-Highlighting for Panic's Coda

Post by Gruni »

Fizzadar wrote:Old topic, but posting because this is so incredibly useful :)

One thing that bugs me is the lack of --[[]] comment support, but apart from that, perfection! Been looking for a coda Lua mode for _AGES_
Next year (*g*) I'll take a look at that and try to fix this. Any other things not working correctly?

Best Regards,

Gruni
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests