Bug 34927 - Feature Request: Shortcut to accept autocompletion in js console
Summary: Feature Request: Shortcut to accept autocompletion in js console
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://example.com
Depends on:
Reported: 2010-02-14 05:28 PST by Jerome Knapp
Modified: 2010-03-19 05:43 PDT (History)
2 users (show)

See Also:

picture of the autocompletion cycle (26.40 KB, image/png)
2010-02-14 05:29 PST, Jerome Knapp
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Knapp 2010-02-14 05:28:47 PST
Accessibility issue / feature request with webkit inspector:

When using tab to autocomplete javascript, completions with multiple possibilities can not be selected unless you use the right arrow key.  It seems to me that shift+tab would make a reasonable shortcut to accept the current selection.  

I believe this would go a long way to make using the inspector less stressful on our hands.  

Please let me know if this will be deleted and I should submit it somewhere else.


Steps to reproduce:
1) View any webpage.
2) Activate Javascript Console
3) Start typing a command to autocomplete, such as document.getE
4) Hit Tab for your suggestion, notice that you can not select your suggestion without moving your hand.
5) Think about how natural it would be to hit shift with tab to select.
Comment 1 Jerome Knapp 2010-02-14 05:29:56 PST
Created attachment 48720 [details]
picture of the autocompletion cycle
Comment 2 Alexander Pavlov (apavlov) 2010-03-19 05:43:06 PDT
Both "Right Arrow" and "End" keys accept the autocompletion suggestion.