microsoft / microsoft/TypeScript
Typescript type hint problem
Nessuno ha ancora preso questa issue.
- Lingua principale
- Go
- Stelle
- 111k
- Fork
- 14.3k
- Merge medio
- 1g 19h
- PR unite (30g)
- 117
Descrizione
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
-
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
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Iniziare riproducendo i suggerimenti di tipo mancanti al passaggio del mouse in VS Code 1.96.0-insider su macOS dopo un uso prolungato, utilizzando il contesto TypeScript segnalato e le estensioni installate. Confrontare il comportamento dell'hover con la navigazione tramite command-click e verificare se il riavvio di VS Code ripristina i suggerimenti. Il lavoro è completato quando la causa è isolata e le informazioni sui tipi nell'hover rimangono disponibili dopo il periodo di utilizzo indicato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript, vscode
- Ambito
- developer-experience, tooling
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100