Bug 270925 - Web Inspector: console's code completion should be case-insensitive
Summary: Web Inspector: console's code completion should be case-insensitive
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Enhancement
Assignee: Qianlang Chen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-03-13 11:53 PDT by Qianlang Chen
Modified: 2024-05-23 08:02 PDT (History)
2 users (show)

See Also:


Attachments
document.query => shows a bunch of suggestions (30.90 KB, image/png)
2024-03-13 11:55 PDT, Qianlang Chen
no flags Details
document.querys => no suggestions (5.40 KB, image/png)
2024-03-13 11:56 PDT, Qianlang Chen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Qianlang Chen 2024-03-13 11:53:38 PDT
in inspector's console, type
    document.querys

actual behavior: no suggestions from auto-complete

expected behavior: auto-complete should suggest
    document.querySelector

because having to press shift is exhausting.

---

related enhancements around code completion:

https://webkit.org/b/180899 -- [style] filtering should be case-insensitive
https://webkit.org/b/97709 -- fuzzy search in styles & console code completion
Comment 1 Qianlang Chen 2024-03-13 11:55:46 PDT
Created attachment 470349 [details]
document.query => shows a bunch of suggestions
Comment 2 Qianlang Chen 2024-03-13 11:56:17 PDT
Created attachment 470351 [details]
document.querys => no suggestions
Comment 3 Radar WebKit Bug Importer 2024-03-13 11:56:55 PDT
<rdar://problem/124544458>
Comment 4 Qianlang Chen 2024-05-17 17:10:49 PDT
Pull request: https://github.com/WebKit/WebKit/pull/26139
Comment 5 EWS 2024-05-23 08:02:00 PDT
Committed 279195@main (14ea1c163233): <https://commits.webkit.org/279195@main>

Reviewed commits have been landed. Closing PR #26139 and removing active labels.