Skip to content

CompletionItemKind enum in vscode.d.ts: Reference (17) and File (16) are declared out of order #314948

Closed

Description

@dymaaaj7

Does this issue occur when all extensions are disabled? Yes
VS Code Version: Any
OS Version: Any

Steps to Reproduce:

Open src/vscode-dts/vscode.d.ts
Find the CompletionItemKind enum

Description:
In the CompletionItemKind enum, Reference = 17 is declared before File = 16, breaking the ascending numeric order. All other entries are declared in order. This is a cosmetic inconsistency but makes the enum harder to read.

// Current (wrong order)
Color = 15,
Reference = 17,  // ← out of place
File = 16,
Folder = 18,

// Expected
Color = 15,
File = 16,
Reference = 17,
Folder = 18,

Activity

  1. added
    unreleased
    on Jun 10, 2026
  2. added this to the 1.125.0 milestone on Jun 10, 2026
  3. added
    insiders-released
    and removed
    unreleased
    on Jun 11, 2026
  4. added
    bug
    on Jun 12, 2026
  5. added
    verified
    on Jun 15, 2026
  6. locked and limited conversation to collaborators on Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buginsiders-releasedverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions