microsoft / microsoft/TypeScript
vscode.provideDocumentSemanticTokens returns null when using native preview with built-in TS extension disabled
オープン
まだ誰も着手していません。
Needs More Info
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.3k
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 132
説明
🔎 Search Terms
vscode.provideDocumentSemanticTokens
🕗 Version & Regression Information
textDocument/semanticTokens/fullare computed as shown in output panel.- editor renders semantic highlighting correctly
- But
vscode.provideDocumentSemanticTokensreturns null/undefined when called from another extension - other language ext that register
DocumentSemanticTokensProviderworks though. evenpwsh
⏯ 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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ネイティブプレビューを有効にし、組み込みの TypeScript 拡張機能を無効にした状態で問題を再現することから始め、出力パネルの textDocument/semanticTokens/full の結果と、別の拡張機能の vscode.provideDocumentSemanticTokens を比較します。TypeScript に対する API の動作が出力パネルと一貫しており、その動作が意図的なものである場合は回帰テストのカバレッジまたは文書化された制限があれば、問題は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100