>I am having a wild time trying to follow the voluminous amount of code involved in the Places component of Firefox. I finally remembered to install the Extension Developer’s extension, which would not install by default as it has no “secure update method” (or some such complaint by Add-ons). Anyway, I added a couple of configuration option to about:config…
extensions.checkCompatibility (bool) = false <– because I am hacking on Trunk
extensions.checkUpdateSecurity (bool) = false <– because Ext. Devel. Ext. has no secure update?
1. Made all fonts 1em and ‘monospace’ font-family. Like a shell should be:)
2. Check the output to see if it is a function, if so, display in a pre element.
3. Added “prettyprint” source code beautifier so the above-mentioned functions are easier on the eyes – not “emacs classic theme” or anything, but a step in the “iPython” direction.
4. Added ctrl-a and ctrl-e key commands to the input widget. Yay!
5. Open the shell in a 800 x 600 window
6. Added a promt like the xpcshell promt: js>
I just think nothing can beat a very lightweight, responsive shell.
I am sure I will keep tweaking it. If you want to get a copy, I have posted my extensiondev.jar that is part of the Extension deveoper’s extension here: extensiondev.jar
If I had bothered to look (i’m slow like that) at the google code page for Extension Developer’s Extension, ( http://code.google.com/p/extensiondev/ ) I would have seen that the formatting bug was reported and the submitted patch was a simple css fix!
Well, it was fun. I may have to join the project:)