JSTerm, Firefox JavaScript terminal

This post has been automatically generated. I use this blog to collect links that I have bookmarked. All activity is automated.

JSTerm Screenshot

JSTerm is an experimental restartless addon. It adds a “jsterm” button in the developer Toolbar (Firefox 16+). The terminal behaves like a shell terminal (history, completion on tab, key bindings, …). It’s a classic REPL environnement. It uses the builtin Firefox Source Editor to highlight JavaScript. It uses a Sandbox to eval JavaScript. And it comes with an Object Inspector.

For Firefox and Addons developers: like Scratchpad, this tool comes with a “chrome” mode (type “:chrome” to enable it).

Why? As you know, we already have similar tools in Firefox (Scratchpad and WebConsole). These tools cover some specific use cases. I’d like to explore alternative ways to cover these use cases (code exploration, prototyping, etc). Scratchpad is still much better for prototyping. For the REPL environnement, I think this terminal feels more “comfortable” than the Web Console (which comes with REPL + Logging, which limits the possibilities of the console).

Let me know what you think in the comments (and if you find bugs, please report them on github).

(switch the 480p for a better video quality) 19 Jul 2012 / /

Hi. I’m Paul Rouget (contact). I work at Mozilla. I write code. I give talks. I tweet. This is my blog (rss).


JSTerm Screenshot

JSTerm is an experimental restartless addon. It adds a “jsterm” button in the developer Toolbar (Firefox 16+). The terminal behaves like a shell terminal (history, completion on tab, key bindings, …). It’s a classic REPL environnement. It uses the builtin Firefox Source Editor to highlight JavaScript. It uses a Sandbox to eval JavaScript. And it comes with an Object Inspector.

For Firefox and Addons developers: like Scratchpad, this tool comes with a “chrome” mode (type “:chrome” to enable it).

Why? As you know, we already have similar tools in Firefox (Scratchpad and WebConsole). These tools cover some specific use cases. I’d like to explore alternative ways to cover these use cases (code exploration, prototyping, etc). Scratchpad is still much better for prototyping. For the REPL environnement, I think this terminal feels more “comfortable” than the Web Console (which comes with REPL + Logging, which limits the possibilities of the console).

Let me know what you think in the comments (and if you find bugs, please report them on github).

(switch the 480p for a better video quality) 19 Jul 2012 / /

Hi. I’m Paul Rouget (contact). I work at Mozilla. I write code. I give talks. I tweet. This is my blog (rss).


via Hacker News http://paulrouget.com/e/jsterm/

Leave a comment

Filed under Auto

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s