-
Notifications
You must be signed in to change notification settings - Fork 39.7k
Completion highlighting incorrect when using filterText #168265
Copy link
Copy link
Closed
Labels
author-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderssuggestIntelliSense, Auto CompleteIntelliSense, Auto CompleteverifiedVerification succeededVerification succeeded
Milestone
Metadata
Metadata
Assignees
Labels
author-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderssuggestIntelliSense, Auto CompleteIntelliSense, Auto CompleteverifiedVerification succeededVerification succeeded
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
provideCompletionItemsthat returns an item withfilterText = "x_fooBar"andlabel = "fooBar"(filtertext doesn't matter, as long as it matches whatever is typed)obfo^o^Bar, but you getfoo^Bar(the o should be highlighted and is not)some examples from typescript (typing in completionModel.ts):