Skip to content

Autocompletion is matched against truncated filterText to 54 characters #74133

@jlelong

Description

@jlelong

When providing a list of completionItem with a non empty filterText, it seems that when typing only the 54 first characters of filterText are considered.

Capture d’écran 2019-05-22 à 12 18 40

  1. The first entry has filterText: RoWill2 Rogers, L. C. G. and William Diffusions, Markov processes, and martingales. Vol. 1 undefined. The o of Markov is in position 54 (counting from 0).
  2. The second entry has filterText: RoWill3 Rogers, L. C. G. and Willia Diffusions, Markov processes, and martingales. Vol. 2 undefined. The o of Markov is in position 53 (counting from 0).

When typing o to narrow the completion to Marko, the first entry vanishes.

Capture d’écran 2019-05-22 à 12 18 48

I apologise for not providing a reproducing example but I do not know how to simply provide a list of completions outside of an extension. I noticed this issue in LaTeX Workshop (I am a maintainer of it).

  • VSCode Version: 1.34.0
  • OS Version: OS X 10.14.5

Metadata

Metadata

Assignees

Labels

suggestIntelliSense, Auto Completeunder-discussionIssue is under discussion for relevance, priority, approach

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions