Skip to content

encodedSemanticClassifications-full returns empty results for JavaScript fileΒ #43350

@mjbvz

Description

@mjbvz

Bug Report

πŸ”Ž Search Terms

  • encodedSemanticClassifications-full
  • semantic highlighting

πŸ•— Version & Regression Information

4.3.0-dev.20210305

⏯ Playground Link

Playground link with relevant code

πŸ’» Repo

  1. In the VS Code codebase
  2. Open a ts file from the core project (such as src/vs/base/common/strings.ts)
  3. Now open build/gulpfile.editor.js
  4. Look for semantic token requests

Bug

encodedSemanticClassifications-full seems to always return empty results for this file:

Info 3889 [12:03:15.050] request:
    {"seq":140,"type":"request","command":"encodedSemanticClassifications-full","arguments":{"file":"/Users/matb/projects/vscode/build/gulpfile.editor.js","start":909,"length":54,"format":"2020"}}
Perf 3890 [12:03:15.050] 140::encodedSemanticClassifications-full: elapsed time (in milliseconds) 0.1368
Info 3891 [12:03:15.050] response:
    {"seq":0,"type":"response","command":"encodedSemanticClassifications-full","request_seq":140,"success":true,"body":{"spans":[],"endOfLineState":0}}

/cc @aeschli

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFix AvailableA PR has been opened for this issueVS Code PriorityCritical issues that VS Code needs fixed in the current TypeScript milestone

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions