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:
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
[OSX | Coda Addon] - LUA-Highlighting for Panic's Coda
Re: [OSX | Coda Addon] - LUA-Highlighting for Panic's Coda
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_
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_
http://love2d.org/forum/viewtopic.php?f=3&t=1016 << epic name!
Re: [OSX | Coda Addon] - LUA-Highlighting for Panic's Coda
There's also this, which is for Xcode 3. It's got no LÖVE-specific highlighting, though.
- 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
I just use TextWrangler. It color codes all kinds of code types.
Re: [OSX | Coda Addon] - LUA-Highlighting for Panic's Coda
Next year (*g*) I'll take a look at that and try to fix this. Any other things not working correctly?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_
Best Regards,
Gruni
Who is online
Users browsing this forum: No registered users and 4 guests