RESOLVED FIXED Bug 32673
JS Console should keep command history between reloads
https://bugs.webkit.org/show_bug.cgi?id=32673
Summary JS Console should keep command history between reloads
Onar Vikingstad
Reported 2009-12-17 10:40:21 PST
It'd be great if the WebKit Inspector Javascript console would remember commands between 'sessions' or reloads. Today, using the up and down arrows to go through your command history only works as long as you don't refresh the browser window. The history should probably be kept per URL, similar to the history in a unix shell that is kept per user.
Attachments
Patrick Mueller
Comment 1 2009-12-18 13:41:35 PST
I've wanted a capability like this also. My thought was to have a UI where you could store/edit multi-line snippets of code, then execute with a button click. Maybe an accelerator key. Ability to prompt for parameters, and what not, perhaps. This could perhaps work as a sidebar pane, as a peer of and underneath breakpoints, where the text displayed in the pane was a 'name' of the snippet. And there would be a gesture available to edit the code. Perhaps there would be a gesture from the console where you could add a "command" you previously ran to this snippet section.
Note You need to log in before you can comment on or make changes to this bug.