Skip to content

Add 'hint' and 'info' search keywords to editor.hover.enabled#313491

Open
yogeshwaran-c wants to merge 1 commit intomicrosoft:mainfrom
yogeshwaran-c:fix/settings-hover-hint-synonym-56902-v2
Open

Add 'hint' and 'info' search keywords to editor.hover.enabled#313491
yogeshwaran-c wants to merge 1 commit intomicrosoft:mainfrom
yogeshwaran-c:fix/settings-hover-hint-synonym-56902-v2

Conversation

@yogeshwaran-c
Copy link
Copy Markdown
Contributor

Fixes #56902

@roblourens confirmed in 2018 ("Yeah makes sense") that adding "hint"/"info" as synonyms for "hover" in settings search would be reasonable. Implements that via the keywords array on the gateway hover setting.

Adds keywords: ['hint', 'info', 'tooltip'] to editor.hover.enabled only — the gateway setting that surfaces all editor.hover.* in the search panel. Searching "hint", "info", or "tooltip" now returns the hover settings, which the existing keyword-search code path in preferencesSearch.ts uses by joining setting.keywords into the searchable lines alongside the description.

Scope kept narrow to the gateway setting per the maintainer's "Yeah makes sense" — doesn't blanket-apply to every hover sub-setting.

Copilot AI review requested due to automatic review settings April 30, 2026 11:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds additional settings-search synonyms for the editor hover “gateway” setting so users can find hover-related settings when searching for “hint”, “info”, or “tooltip”, addressing #56902.

Changes:

  • Adds a keywords array to editor.hover.enabled with hint, info, and tooltip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"editor.hover.enabled" not showing up when searching "hint" or "info" in settings

3 participants