Skip to content

Snippet completion sorting is wrong #163923

@jdneo

Description

@jdneo

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

Version: 1.73.0-insider (user setup)
Commit: 6455bf1
Date: 2022-10-17T05:17:12.448Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: Yes

Steps to Reproduce:

  1. Use the code: jdneo/vscode-extension-samples@c5e384c
  2. Make sure the setting editor.snippetSuggestions is set to inline
  3. The item for is listed at top, while it should be expected to list under error.
    image

If removing the code:

item.insertText = "for (const iterator of object) {}";
item.range = range;
item.filterText = "console.for";

The behavior becomes normal.

Metadata

Metadata

Assignees

Labels

*dev-questionVS Code Extension Development Question

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions