News for hackers. Stuff that matters.
Re:CoffeeTable: A Browser Console for CoffeeScript by TrevorBurnham on Tuesday July 19, 2011 @11:52PM (#2784225)
Author of the CoffeeScript book here. This is really, really cool! I especially like that there's annotated source (http://code.alecperkins.net/coffeetable/docs/coffeetable.htm...).

A couple of things:

1. I can't seem to add linebreaks in multiline mode; both `Return` and `Shift+Return` submits the command. Looking at the source, I think the problem is that `settings.multi_line` isn't modified when you click the checkbox; only `settings.showing_multi_line` is.

2. It'd be great to have detailed object output instead of just "[object Object]". A simple way to do this would be to run everything through JSON.stringify; or you could go prettier with nested indentation levels and such (there are several existing libs for this).

Re:CoffeeTable: A Browser Console for CoffeeScript by alecperkins on Wednesday July 20, 2011 @12:04AM (#2784250)
Thanks for the feedback. First time really using Docco, and now I feel crazy for not using it before.

1. Good catch! I recently did a complete refactor as part of the docco-ification. Thought I caught everything but apparently not. I'll fix that ASAP.

2. Totally agree, and it's already on the todo list: https://github.com/alecperkins/coffeetable/issues/4 Until then, `log` and `dir` are shortcuts for the ordinary console commands.

Re:CoffeeTable: A Browser Console for CoffeeScript by autotelicum on Wednesday July 20, 2011 @12:53AM (#2784354)
A temporary workaround for newlines is to copy/paste them in the box. Adding the bookmarklet and then going to http://arcturo.github.com/library/coffeescript/ gives a good way of experimenting with CoffeeScript.
Re:CoffeeTable: A Browser Console for CoffeeScript by alecperkins on Wednesday July 20, 2011 @01:25AM (#2784436)
Multi-line mode should be fixed. Now the whole intercepting tab thing is actually useful.