Hacker News new | past | comments | ask | show | jobs | submit login

Very interesting; I like it.

Could you add a keyboard shortcut for running the CoffeeScript? Perhaps "option+(enter|return)" inserts a carriage return while (enter|return) runs the code?

Second choice: command+B "builds" the code.




I have it set that Cmd+Enter or Shift+Enter runs the code and Enter just creates a normal carriage return. I know this is a little backwards compared to the normal console, so it's definitely possible to switch it around. This just feels natural to me. (Down the road, having app preferences where this can be toggled might be good.)


Ahh yes, just came back here to edit my comment after I found that in the source. I can get used to that.

I'd love to see this become a drop-in replacement for the console. CoffeeScript is so much nicer to deal with in development it's practically the only time I'm still writing plain js.


Typically, when working with multiline inputs where return submits the input, option+return inserts a newline.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: