Bug 142533

Summary: Web Inspector: add global shortcut for focusing active navigation sidebar's filter box
Product: WebKit Reporter: Brian Burg <burg>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: graouts, inspector-bugzilla-changes, jonowells, nvasilyev, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 149198    
Bug Blocks:    

Description Brian Burg 2015-03-10 07:48:40 PDT
There can be at least two "filter" inputs, for the left sidebar and the split console. It would be really useful to have a shortcut, such as cmd+\, to move focus to the next filter input. As it is, the hit target is so small and at the bottom of the window, I rarely use it myself.
Comment 1 Radar WebKit Bug Importer 2015-03-10 07:48:53 PDT
<rdar://problem/20104646>
Comment 2 BJ Burg 2015-09-16 10:57:54 PDT
The approach Xcode takes is to have two separate shortcuts:

* one for left-side navigator filter (In menu bar as "Edit > Filter > Filter in Navigator", keys Option+Shift+J)
* one for right-side library filter (In menu bar as "Edit > Filter > Filter in Library", keys Option+Shift+L)

We don't have a library, but this should be easy to do for the navigators.
Comment 3 Nikita Vasilyev 2018-03-10 18:00:32 PST
Brian, did you mean Command-Option-*?
Option+Shift+J types Ô
Option+Shift+L types Ò

In macOS High Siera Xcode:
Command-J move focus to editor.
Command-Shift-J reveal in project navigator.
Command-Option-J focus on navigator filter field.

Possible conflicts:
Safari:
Command-Option-L open Downloads

Chrome:
Command-Option-J open/close DevTools and focuses on console