My favorites | Sign in
Project Home Downloads Wiki Issues Code Search
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 144943: Add keyboard shortcut to focus the developer console
8 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  apav...@chromium.org
Closed:  Feb 2014


Sign in to add a comment
 
Reported by alexan...@skovik.com, Aug 27, 2012
Chrome Version: 21.0.1180.79
OS Version: OS X 10.7.4

What steps will reproduce the problem?
1. Open devtools, either right click - Inspect Element or Ctrl + Shift + I (attached to the window)
2. Focus on something in the website your browsing, e.g. select some text.
3. With focus on the website there is no keyboard shortcut to move focus to the developer console, and hence no keyboard shortcuts for the developer console works (https://developers.google.com/chrome-developer-tools/docs/shortcuts?hl=sv)

What is the expected result?
A keyboard shortcut should exist that focus the developer console.

What happens instead?
Nothing. No way of focusing the developer console.

UserAgentString: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1


Aug 27, 2012
#1 meh...@chromium.org
(No comment was entered for this change.)
Labels: -Area-Undefined Area-UI Feature-DevTools
Oct 12, 2012
#2 pfeld...@chromium.org
(No comment was entered for this change.)
Status: Assigned
Owner: apav...@chromium.org
Oct 18, 2012
#3 apav...@chromium.org
(No comment was entered for this change.)
Labels: -Type-Bug Type-Feature
Jan 7, 2013
#4 alexan...@skovik.com
I should add that it's focus for the console input filed that I'm referring to. The OS itself has shortcuts for cycling through application windows (although a shortcut to focus on the Developer Tools window for the currently active webpage would be useful too [when there are many windows cycling through each one is cumbersome]).
Jan 7, 2013
#5 alexan...@skovik.com
*input field
Jan 11, 2013
#6 apav...@chromium.org
Re comment #4: the Ctrl+Shift+I (or Cmd+Alt+I on Mac) shortcut will focus the corresponding DevTools window if one has been opened for the current tab, so there's no problem for the detached DevTools window case.
Jan 11, 2013
#7 alexan...@skovik.com
Yes, that is true (though pressing it if the window already has focus, or pressing twice by accident) will open another window, but you are definitely right, that is possible.

What I'm requesting is a way to focus the command prompt, e.g. focus on the input field where one types commands. Such an addition would make keyboard navigation much easier!
Mar 10, 2013
#8 bugdro...@chromium.org
(No comment was entered for this change.)
Labels: -Area-UI -Feature-DevTools Cr-Platform-DevTools Cr-UI
Feb 21, 2014
#9 apav...@chromium.org
Ctrl+` should bring up the console or focus it if one is visible.

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167592
Status: Fixed
Feb 21, 2014
#10 bugdro...@chromium.org
The following revision refers to this bug:
    http://src.chromium.org/viewvc/blink?view=rev&rev=167592

------------------------------------------------------------------------
r167592 | apavlov@chromium.org | 2014-02-21T12:27:46.425282Z

Changed paths:
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/ConsoleView.js?r1=167592&r2=167591&pathrev=167592
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/inspector.js?r1=167592&r2=167591&pathrev=167592

DevTools: Focus visible console on Ctrl+`

Currently, the hidden console is shown on Ctrl+`, but it is not focused if it is visible. This patch handles the focusing part.

R=eustas@chromium.org, eustas, vsevik
BUG=144943

Review URL: https://codereview.chromium.org/162553005
------------------------------------------------------------------------
Jun 30, 2014
#11 OliverJAsh
It would be nice if this shortcut also returned focus to the rest of the DevTools when the console is focused, aka toggling focus between the two areas. If you're on the console pane there's no way to use the Command/Ctrl-[1-8] keyboard shortcuts to access each of the panes.
Jul 3, 2014
#12 alexan...@skovik.com
Much appreciated!
Today (7 hours ago)
#13 prashant...@j-kri.com
this one is nice
Sign in to add a comment

Powered by Google Project Hosting