Skip to content

Language manual selection list highlights inexact (wrong) search result #257427

@gyorokpeter

Description

@gyorokpeter

Does this issue occur when all extensions are disabled?: No

  • VS Code Version: 1.102.1 (system setup)
  • OS Version: Windows_NT x64 10.0.26100

Steps to Reproduce:

  1. Install the "kdb" extension (https://marketplace.visualstudio.com/items?itemName=KX.kdb)
  2. Create a file named foo (without file name extension). Place some code in it, e.g. f:{x+y}.
  3. Open the file in vscode. The file is probably recognized as plain text.
  4. Click on the language to open Select Language Mode.
  5. Type the letter q into the search bar.
    Expected result: the entry for q (from the "kdb" extension) is highlighted, and pressing Enter selects this language.
    Actual result: "MS SQL" is highlighted, and pressing Enter selects this language. However, this is an inexact match, and since the exact match only consists of a single letter, there is no way to force the highlight to move to the correct result by typing. The only way to select the correct result is clicking on it, which is slower.
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions