Closed
Bug 1098606
Opened 10 years ago
Closed 4 years ago
Now that we have developer edition, can we have a slick key combo for opening the toolbar?
Categories
(DevTools :: Framework, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: potch, Unassigned)
Details
(Whiteboard: [devedition-ideas])
Been using this for my personal (ctrl+space): window.addEventListener('keypress', function (e) { if (e.ctrlKey && !(e.metaKey || e.shiftKey || e.altKey) && e.key===' ') { DeveloperToolbar.focus(); } }); I find I use the toolbar more often when it's actually easy to open. As an aside, now that we have a developer edition, can we get devtool shortcuts off the F keys on Mac?
Comment 1•10 years ago
|
||
Joe, what do you think about using a special easier-to-type key combo for accessing developer toolbar when in dev edition? Specifically, is having a shortcut that's existence depends on a pref too weird? The reasoning is that the shortcut to open dev toolbar is pretty hard to find (and type, on osx). And ctrl+space (or similar) is probably way too common to turn on by default in all channels. But it might be the kind of thing that could make sense as a default in dev edition. Said shortcut would automatically open and focus the developer toolbar. It's different than F2 in that it wouldn't ever close the toolbar if it was already opened, but rather refocus it. It would be something like: #ifdef MOZ_DEV_EDITION pref("devtools.gcli.focusShortcut", true); #else pref("devtools.gcli.focusShortcut", false); #endif
Flags: needinfo?(jwalker)
Comment 2•10 years ago
|
||
We'd like to put the command line into the web console so the output is longer lasting, and you'd access the commands by pressing : to say 'this is a command rather than JS'. There's nothing to stop ctrl+space from focussing the console and setting the input to ':' though. Not against it at all.
Flags: needinfo?(jwalker)
Updated•10 years ago
|
Whiteboard: [devedition-ideas]
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 3•4 years ago
|
||
GCLI is no longer around.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•