microsoft / microsoft/TypeScript

Typescript type hint problem

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

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

Needs More Info
主要言語
Go
スター
111k
フォーク
14.3k
平均マージ
1日 19時間
マージ済み PR(30日)
117

説明

Type: Bug

使用一段时间后,鼠标移到变量或者typescript类型上面,会有以下问题:

  • 没有类型提示,没有任何反应,此时按住command同时点击鼠标左键可以正常跳到实现

正常会有浮层提示类型,重启VS Code之后正常,但是使用一段时间之后还会出现

After using it for a while, when you move the mouse over a variable or typescript type, the following problems will occur:

  • No type hint, no response, at this time, hold down command and click the left mouse button to jump to the implementation

Normally, there will be a floating layer prompt type, it will be normal after restarting VS Code, but it will still appear after using it for a while

  • Normal display
    The mouse pointer is at the arrow position
    Image

  • problem
    The mouse pointer is at the arrow position

Version: 1.96.0-insider (Universal)
Commit: 91bf2f3b96a337c05fdd30dbfe609ae780b74706
Date: 2024-11-19T05:04:26.087Z
Electron: 32.2.3
ElectronBuildId: 10561341
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin x64 22.6.0

Image

VS Code version: Code 1.95.1 (65edc4939843c90c34d61f4ce11704f09d3e5cb6, 2024-10-31T05:14:54.222Z)
OS version: Darwin x64 22.6.0
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 4, 3, 2
Memory (System) 16.00GB (1.19GB free)
Process Argv --crash-reporter-id df018b86-dcb3-4093-a0fe-1df1f758d245
Screen Reader no
VM 0%
Extensions (7)
Extension Author (truncated) Version
markdown-mermaid bie 1.26.0
vscode-eslint dba 3.0.13
prettier-vscode esb 11.0.0
githd hui 2.5.3
vscode-language-pack-zh-hans MS- 1.95.2024103009
volar Vue 2.1.10
material-theme zhu 3.17.5
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
vscrpc:30673769
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
jg8ic977:31013176
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
nativerepl1:31139838
refactort:31108082
pythonrstrctxt:31112756
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013

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

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

はじめの一歩

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

調査の方向性

まず、報告された TypeScript コンテキストとインストール済みの拡張機能を使用して、macOS 上の VS Code 1.96.0-insider で長時間使用した後にホバー時の型ヒントが表示されなくなる問題を再現します。ホバーの動作を command-click による移動と比較し、VS Code を再起動するとヒントが復元されるか確認します。原因が特定され、報告された使用期間の後もホバー時の型情報が利用できれば完了です。

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

評価

技術スタック
typescript, vscode
領域
developer-experience, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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