New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 174309 link

Starred by 157 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Feature


Sign in to add a comment

DevTools: Allow to customize keyboard shortcuts/key bindings

Reported by addyosm...@gmail.com, Feb 5 2013

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.58 Safari/537.22

Steps to reproduce the problem:
1. Open the DevTools
2. Search for an option to configure keyboard shortcuts either in the UI or configuration directories
3. There is no way to customize keyboard shortcuts

What is the expected behavior?
With features such as Workspaces landing, I think it would be useful to offer a way to customize keyboard shortcuts for our power users. This doesn't necessarily have to be done via UI, but could be done via a config file with key mappings.

What went wrong?
No way to customize the DevTools shortcuts could be located.

Did this work before? No 

Chrome version: 25.0.1364.58  Channel: beta
OS Version: 

It might be useful to look at how Sublime Text implements this functionality. See Sublime Text 2 > Preferences > Key Bindings. Perhaps it could be done a little like this? 

[
    { "keys": ["ctrl+k"], "command": "inspect_element" }
]
 

Comment 1 by faru...@gmail.com, Feb 5 2013

I'm also in favor of seeing this feature being integrated in the next releases of the Chrome browser. This would dramatically increase productivity from my point of view. The Sublime Text 2 approach seems to be simple, and highly customizable.  
Cc: athigle@chromium.org
Labels: -Type-Bug Type-Feature
Status: Untriaged
Making this a feature request
Project Member

Comment 3 by bugdroid1@chromium.org, Mar 10 2013

Labels: -Feature-DevTools Cr-Platform-DevTools
Yes Please. Any plans for this to go into development soon?
Cc: eustas@chromium.org

Comment 6 by faru...@gmail.com, Jun 27 2013

Do we have an update on this requested feature yet ?

Comment 7 by eustas@chromium.org, Aug 20 2013

 Issue 238612  has been merged into this issue.

Comment 8 by eustas@chromium.org, Aug 20 2013

 Issue 255257  has been merged into this issue.

Comment 9 by eustas@chromium.org, Aug 20 2013

 Issue 238612  has been merged into this issue.

Comment 10 by Deleted ...@, Nov 12 2013

I'm also eagerly waiting a custom keybindings for DevTools.
I'm big fan of Emacs's style navigation. For now lack of keybindings the only thing that stops me from migration to Chrome DevTools.
This is a great idea Addy, something similar to Sublime Text would be great!
Owner: apavlov@chromium.org
Status: Assigned
I've been asking for this since November 19, 2011.
http://stackoverflow.com/questions/8192714/customize-chrome-debugger-keyboard-shortcuts/22894458
Yes please! Thanks for adding it to the queue, Addy.
Project Member

Comment 14 by bugdroid1@chromium.org, Apr 17 2014

The following revision refers to this bug:
  http://src.chromium.org/viewvc/blink?view=rev&rev=171867

------------------------------------------------------------------
r171867 | apavlov@chromium.org | 2014-04-17T17:16:33.280963Z

Changed paths:
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/KeyboardShortcut.js?r1=171867&r2=171866&pathrev=171867
   M http://src.chromium.org/viewvc/blink/trunk/LayoutTests/inspector/map.html?r1=171867&r2=171866&pathrev=171867
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/inspector.html?r1=171867&r2=171866&pathrev=171867
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/Dialog.js?r1=171867&r2=171866&pathrev=171867
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/InspectorView.js?r1=171867&r2=171866&pathrev=171867
   A http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/ActionRegistry.js?r1=171867&r2=171866&pathrev=171867
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/modules.js?r1=171867&r2=171866&pathrev=171867
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/utilities.js?r1=171867&r2=171866&pathrev=171867
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/devtools.gypi?r1=171867&r2=171866&pathrev=171867
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/scripts/frontend_modules.json?r1=171867&r2=171866&pathrev=171867
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/ModuleManager.js?r1=171867&r2=171866&pathrev=171867
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/Context.js?r1=171867&r2=171866&pathrev=171867
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/Drawer.js?r1=171867&r2=171866&pathrev=171867
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/Main.js?r1=171867&r2=171866&pathrev=171867
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/TabbedPane.js?r1=171867&r2=171866&pathrev=171867
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/AdvancedSearchView.js?r1=171867&r2=171866&pathrev=171867

DevTools: Decouple shortcuts from actions, introduce shortcut contexts

R=eustas, pfeldman, vsevik
BUG=174309

Review URL: https://codereview.chromium.org/218613013
-----------------------------------------------------------------
Summary: DevTools: Allow to customize keyboard shortcuts/key bindings (was: Ability to customize keyboard shortcuts/key bindings for DevTools)
Wondering where this is up to? Would love to see a blog article / screencast on how to implement if it's available please so I can help with testing.
Sorry, no ETA, as this feature requires large architectural changes in order to get implemented.

Comment 19 by Deleted ...@, Aug 28 2014

No ETA, but is it even accepted that this should be added? 
Owner: lushnikov@chromium.org

Comment 21 Deleted

Comment 22 by s1000...@gmail.com, Jan 15 2015

On a side note the recent addition of the shortcut for dev tools docking in Canary now is great!! https://twitter.com/s10wen/status/552850791414124544
Any ETA on this issue?
I would very much like this feature in Chrome too, I want to keep my debugging shortcuts syncronised between my IDE and Chrome so I don't have to rewire my brain everytime I switch between the two. I use F7 and F8 for step into and step over and I want to do this in Chrome when debugging Javascript.

Comment 25 by b...@spotify.com, May 15 2015

Would love to move step over shortcuts out of F8/etc, since this requires 2 hands on a mac keyboard

Comment 26 by Deleted ...@, Sep 14 2015

Want! For OSX as well.

Comment 27 Deleted

Could you please use abstract key names such as "ModKey1" (Ctrl or Command on OS X), "ModKey2" (Alt or Option on OS X) and "ModKey3" (Meta or Control on OS X) instead of defining every shortcut twice for each platform?
Totally in favour to see this feature in ASAP! Please! ;-)
I also want this!

Comment 31 by Deleted ...@, Oct 30 2015

I'd love to see this get added!
bump!

Would love to be able to use the same settings I have in VS, Netbeans, Android Studio as in chrome. Very confusing to press F9 and not have a breakpoint toggle. 
Owner: samli@chromium.org

Comment 35 by Deleted ...@, Dec 14 2015

This would be awesome!

Comment 36 by samli@chromium.org, Dec 29 2015

Status: Started
 Issue 581404  has been merged into this issue.

Comment 38 by samli@chromium.org, Mar 31 2016

Owner: ----
Status: Untriaged (was: Started)
Owner: l...@chromium.org
Status: Available (was: Untriaged)

Comment 40 by l...@chromium.org, Jul 8 2016

Cc: lushnikov@chromium.org l...@chromium.org
Owner: einbinder@chromium.org
Status: Assigned (was: Available)
Cc: paulir...@chromium.org maxwalker@chromium.org pfeldman@chromium.org
 Issue 537753  has been merged into this issue.

Comment 42 by matm...@gmail.com, Jul 22 2016

Is this actively being worked on? Seems like this has been a requested feature for 3-5 years now, but it never gets updated :(

Comment 43 by l...@chromium.org, Aug 17 2016

Blocking: 638585
Blockedon: 642430

Comment 45 Deleted

Comment 47 by dio...@gmail.com, Dec 15 2016

With new apple touchbar it is became more important...
When will this featur be available? I vote for it.
Blocking: 658383
This is really badly needed. It adds to developer friction to have to switch between different keybindings when working in different environments. (Yes, it's not without cost in both complexity and giving up homogenous knowledge, but I think the trade-off is worth it). 

Comment 51 by matm...@gmail.com, Feb 6 2017

Agreed. 

With all the work that has gone into the dev tools the past few years, I'm always surprised that this hasn't been prioritized at all. 
Blocking: 688728
Blocking: 698815
Blocking: 601754
Well it is not really possible to work with the dev tool console any more... I can't type such a standard character like '[' or ']' for testing an array .. because 'strg+alt+[' is an shotcut for switch tabs.. 
This might be of interest to some of you:
If you build Chromium yourself, you can modify the key bindings of the DevTools (who would have guessed) ;)

e.g. to use Eclipse key bindings within the Chromium DevTools, I modified key bindings in the following files:

src/third_party/WebKit/Source/devtools/front_end/sources/module.json
src/third_party/WebKit/Source/devtools/front_end/ui/ShortcutsScreen.js
src/third_party/WebKit/Source/devtools/front_end/quick_open/module.json
src/third_party/WebKit/Source/devtools/front_end/main/module.json

However, I don't recommend this approach. 
These default shortcuts override some default Windows shortcuts for typing brackets and so on in some keyboard layouts (e.g. Czech QWERTZ). So If you want to type e.g. square brackets you use right alt + F/G. You cannot type these brackets in developer tools with this keyboard settings on Windows. Quite a pain in a JS console.

Please add an option to disable these shortcuts or enable their customisation. Enabling them only for left alt key is also an option.

This needs quick fix.

Comment 58 by woxxom@gmail.com, Apr 10 2017

#57 >These default shortcuts override some default Windows shortcuts for typing brackets

Sounds like  issue 685993  fixed in 57.0.2987.133

Comment 59 Deleted

Just the ability to disable a keyboard shortcut would add 80% of the value of this feature for me. I constantly close all my chrome windows when I hit cmd+Q (quit chrome, which I'd never do with a keyboard shortcut) instead of cmd+W (which I frequently use).
Things like `CMD + Q` are browser-level shortcuts. They wouldn't be affected by anything the DevTools team does like this. Those are also highly unlikely to get configuration options. But if you really feel it is something many people would need you can file a new bug report for that level of configuration. It's simply not in the scope of this issue.
Also, you can add an extra confirmation to avoid accidental Cmd-Q's: https://superuser.com/a/743618

Comment 63 Deleted

Cc: einbinder@chromium.org
 Issue 620681  has been merged into this issue.
Over the five years since this feature request was filed, the DevTools team have continued to invest in making Workspaces more powerful. Although Sources + Workspaces are not quite an IDE, the ability to configure key bindings would be a welcome addition to its arsenal. You could add Vim key bindings, custom ones - get a little more flexibility than we've been constrained to. 

A friendly poke to see if we're still interested in working on this as part of https://docs.google.com/document/d/1mWGp27dMYoqs83naqgMRkjFfB1H5AS9p77tIPeNul9o/edit#
I prefer using fullscreen windows. I want to use the same F8/F10/F11 shortcuts while debugging my code in fullscreen. When I press F11, chrome switches back to normal mode. I want to change the full screen shortcut of chrome(F11 to something else).
will this be handled?
conflicts with mac shortcuts
Vim keybindings would be wonderful, and reduce a lot of friction for anyone developing with Chrome. I would spend more focussed time in Chrome as a scratchpad and testing bug fixes with this capability. And I understand it's already available in CodeMirror?..

Sign in to add a comment