(In reply to saqib from comment #28)
I think one of the better features of firefox is scatchpad. For me, to see it go, Well, i've only ever used firefox for scratchpad, firebug and rarely web console I've been using the (firefox) developer edition for well over 15 years.
The web console just doesn't cut it unfortunately. Its great for instant feedback but when i'm working on a wip script that includes page refreshes and reattachment of my script... how does web console help? I am working on like a 100 lines of js before i'll commit it to the code base... and scratchpad helps....really really helps!!!
I need to be able to paste in, write from scratch, dynamicly edit and re-run JS in scratchpad; inclusive of page refreshes etc where i dont lose the code. Web console (multi line) doesnt allow me to edit JS and work with it how i want to.... and looking at the comments, other people are saying similar things. I'd have to press the up arrow to vie 100 lines of JS, try and scroll to where i need to make an edit, hit enter to reregister 100 lines or more of js.... i'm not sure how web console became the better alternative?
Thanks for your feedback. What we are calling multi-line editor mode is triggered by a button (or shortcut) and then changes the layout of the console.
The input is on the left, taking the whole vertical space, the output is on the right (like you have the VariableView on the right in Scratchpad)
When evaluating, you can see errors on the right, with a proper stacktrace (they aren't put as comments in the input, like they do in Scratchpad).
So far the only missing things are loading and saving from/to disk, and we're thinking of a way to integrate it in the console.
Would it not be possible to rewrite scratchpad so it works with your new framework? Rewrite it and keep your loyal customer base loyal to start with! and keep them happy too :)
It's not a new framework or something we can postpone. This is base technological piece that will be removed Firefox as a whole (for speed and security reason). Rewriting Scratchpad would be very time consuming given its low usage (the console is used by millions, scratchpad by thousands). We're a small team, and we currently don't even have a maintainer for Scratchpad (this kind of defaults to me, the Console maintainer and only full-time employee on it), and we have to make choices as we also have to deal with the security rewrite for the console + general maintenance.
if i've got web console completely wrong... then please show me how i can use it exactly like scratchpad as i really do need it. If web console can be made like scratchpad easily then please do this....its probably better to keep the functionality of scratchpad and incorporate if into web console PROPERLY though. It has to work like scratchpad. I understand the resource may not be there to rewrite scratchpad but i'm already compromising and saying.... make web console exactly like scratchpad....
I understand Scratchpad users heavily rely on it, but I really think Scratchpad is very subpar in what it offers. I want to provide a better experience for people who wants to build long scripts and evaluate it against a given context. The Firefox refactor is an opportunity for us to be able to offer a better experience than what Scratchpad currently is.
Sometimes it takes sometime to get used to a new tool, but I'm pretty sure (when load/save is implement) that you'll find Multiline Editor better than Scratchpad.
Please, if you can, try the new feature (either on Nightly or on latest DevEdition), and let us know how that feels for you.