by kibwen · 13y ago · 0 comments
Congratulations to the tools team, I'm loving the network panel and the object inspector. And the built-in tools are so much more responsive than Firebug that I'm tempted to switch right now. There are just two things that I'm immediately missing:
1) When I log objects, Firebug prints a preview such as ["a", "b", "c"] or {foo: 1, bar: 2} to the console, whereas the built-in tools print [object Array] or [object Object] and force me to rely on the object inspector (which I'd really just like to use for very large objects, rather than every single little object).
2) I like to try out snippets of code that are longer than a single line, but I'm not a huge fan of the scratchpad (can't be docked, no autocomplete). Firebug allows the console input to toggle between single-line and multi-line, and I'd love if the built-in tools had this as well.
I'm sure I'll stumble across more differences, but the tools really are looking great. Congratulations again on coming so far in so short a time.
We're going to revamp the Console's output area fairly significantly in the next few months. Better Object output is high on the list of changes.
(you can use console.dir(object) for an inlined inspector view, or inspect(object) in the console's jsterm input line to view the object in the sidebar)
Shift-Enter turns the Console's input line into a multi-line input.
We're hoping to add autocomplete to the Scratchpad down the road too.