microsoft / microsoft/TypeScript

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

未关闭
#62,023 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
7.0 LS Migration Bug Domain: LS: Inlay Hints
主要语言
Go
星标
111k
派生
14.3k
平均合并
2 天 4 小时
30 天内合并 PR
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

贡献指南

打开贡献指南

调研方向

先在启用内嵌提示的情况下复现报告,然后比较扩展 mixin 实现中的构造函数前后,通用构造函数示例的差异。跟踪计算此构造的内嵌提示的 TypeScript language-service 路径。完成的标准是:扩展后提示仍保持启用,并且该回归问题由测试覆盖。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
developer-experience
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。