CoffeeScript.mode icon indicating copy to clipboard operation
CoffeeScript.mode copied to clipboard

Indent below function definition?

Open mleveck opened this issue 13 years ago • 2 comments
trafficstars

When I type in the following: foo = (bar) ->

and hit enter, the next line doesn't indent. Is that a bug or by design? Thanks, Matt

mleveck avatar Jun 09 '12 12:06 mleveck

This is something I started looking into but at that point had spent too much time getting the coloring to work for Coda 2 that I didn't get around to it.

Unfortunately for this repo, I was super excited for Coda 2 and Coda 2 let me down (and gobbled up $50!). I've since tried some other editors and have switched to Sublime Text 2 which I would really recommend (especially since it supports the thousands of TextMate themes and syntax modes).

But if you want to give it a shot, I think the section you'll need to work on is https://github.com/caseywebdev/CoffeeScript.mode/blob/master/Contents/Resources/SyntaxDefinition.xml#L14

caseywebdev avatar Jun 09 '12 15:06 caseywebdev

Thanks!

Sent from my iPad

On Jun 9, 2012, at 8:58 AM, Casey Foster [email protected] wrote:

This is something I started looking into but at that point had spent too much time getting the coloring to work for Coda 2 that I didn't get around to it.

Unfortunately for this repo, I was super excited for Coda 2 and Coda 2 let me down (and gobbled up $50!). I've since tried some other editors and have switched to Sublime Text 2 which I would really recommend (especially since it supports the thousands of TextMate themes and syntax modes).

But if you want to give it a shot, I think the section you'll need to work on is https://github.com/caseywebdev/CoffeeScript.mode/blob/master/Contents/Resources/SyntaxDefinition.xml#L14


Reply to this email directly or view it on GitHub: https://github.com/caseywebdev/CoffeeScript.mode/issues/1#issuecomment-6220996

mleveck avatar Jun 10 '12 23:06 mleveck