microsoft / microsoft/TypeScript

Inlay hints will be disabled after extending constructor function in Mixin Implementation using Typescript

オープン
#62,023 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

7.0 LS Migration Bug Domain: LS: Inlay Hints
主要言語
Go
スター
111k
フォーク
14.3k
平均マージ
2日 4時間
マージ済み PR(30日)
132

説明

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

- VS Code Version: 1.97.2
- OS Version: Windows_NT x64 10.0.26100

Steps to Reproduce:

Pre-conditions:

- Inlay hints must be enabled in VS Code
- Configurations of Inlay hints in VS Code
![Image](https://github.com/user-attachments/assets/ba4f5f17-2388-41d5-8eb5-44a28e25403b)

1. Make a function
![Image](https://github.com/user-attachments/assets/ba35dde9-bdb6-4627-a294-ed365f5c8aaf)

3. Convert function to Generic and constructor function

- Before extending constructor function (Inlay hints are enabled)
![Image](https://github.com/user-attachments/assets/9a3c11b2-5cf0-4949-9e49-e58d27f13506)

- After extending constructor function (Inlay hints are disabled)
![Image](https://github.com/user-attachments/assets/12239b23-006d-4e13-ad3b-80b3d1fab1da)

Recorded Video
https://github.com/user-attachments/assets/897fea39-0edc-4a7f-a88f-c91fc6636ace

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、インレイヒントを有効にした状態で報告を再現し、次に、mixin 実装でコンストラクターを拡張する前後のジェネリックなコンストラクター関数の例を比較します。この構造に対するインレイヒントを計算する TypeScript language-service のパスを追跡します。拡張後もヒントが有効なままであり、回帰がテストでカバーされていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
developer-experience
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。