Skip to content

vscode.provideDocumentSemanticTokens returns null when using native preview with built-in TS extension disabled #64021

Description

@jw0785

🔎 Search Terms

vscode.provideDocumentSemanticTokens

🕗 Version & Regression Information

  • textDocument/semanticTokens/full are computed as shown in output panel.
  • editor renders semantic highlighting correctly
  • But vscode.provideDocumentSemanticTokens returns null/undefined when called from another extension
  • other language ext that register DocumentSemanticTokensProvider works though. even pwsh

⏯ Playground Link

No response

💻 Code

// Your code here

🙁 Actual behavior

inconsistent sem token return

🙂 Expected behavior

should be consistent in output panel and when called from another ext

Additional information about the issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs More InfoThe issue still hasn't been fully clarified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions