Content-Length: 306899 | pFad | http://github.com/microsoft/TypeScript/issues/62012

F0 Not showing imports in `Quick Fix` suggestions · Issue #62012 · microsoft/TypeScript · GitHub
Skip to content

Not showing imports in Quick Fix suggestions #62012

Closed as not planned
Closed as not planned
@Profesor08

Description

@Profesor08

Type: Bug

Reproduction

test-import-suggestion.zip

  1. Extract project
  2. Install dependencies
  3. Open main.ts
  4. Hover underlined useSWR()
  5. Wait for popover
  6. Click on Quick Fix...
  7. Is shows to add function declaration, and no imports.

Image

If you remove some amount of dependencies from package.json, the suggestions can appear.

Also, there is no loading state. May be something is just broken.

20250702-1003-16.6802335.mp4

When all works fine, there is little loading

20250702-1004-32.7864010.mp4

VS Code version: Code - Insiders 1.102.0-insider (6e855004c713d9c2610091ab7eb68b677830087f, 2025-07-02T05:06:38.879Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs AMD Ryzen 9 3900XT 12-Core Processor (24 x 3793)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.92GB (12.75GB free)
Process Argv --log vscode.git=trace --crash-reporter-id 15de8306-e8a1-4213-8c02-ebcaa1dda863
Screen Reader no
VM 0%
Extensions (41)
Extension Author (truncated) Version
glance ahk 0.0.8
project-manager ale 12.8.0
lit-html bie 1.11.1
biome bio 3.0.3
vscode-css-modules cli 0.5.4
vscode-markdownlint Dav 0.60.0
vscode-eslint dba 3.0.10
composer-php-vscode DEV 1.59.17515
intelli-php-vscode DEV 0.12.15062
phptools-vscode DEV 1.59.17515
profiler-php-vscode DEV 1.59.17515
gitlens eam 17.2.1
EditorConfig Edi 0.17.4
prettier-vscode esb 11.0.0
auto-rename-tag for 0.1.10
gitlab-workflow Git 6.30.0
todo-tree Gru 0.0.226
path-autocomplete ion 1.25.0
css-nesting-syntax-highlighting jac 0.4.0
auto-comment-blocks kev 1.0.1
remote-wsl ms- 0.99.0
hexeditor ms- 1.11.1
indent-rainbow ode 8.3.1
vscode-twoslash-queries Ort 1.5.0
vscode-css-navigation puc 2.3.9
vscode-yaml red 1.18.0
code-spell-checker str 4.0.47
code-spell-checker-russian str 2.2.3
vscode-styled-components sty 1.7.8
vscode-stylelint sty 1.5.3
vscode-mdx uni 1.8.15
highlight-matching-tag vin 0.11.0
adb-interface-vscode vin 0.22.4
intellicode-api-usage-examples Vis 0.2.9
vscodeintellicode Vis 1.3.2
vscode-gradle vsc 3.17.2025062603
vscode-java-debug vsc 0.58.2025063005
vscode-java-dependency vsc 0.24.1
vscode-java-pack vsc 0.29.2025062500
vscode-maven vsc 0.44.2024072906
pretty-ts-errors Yoa 0.6.1

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256197
vsc_aa:30263845
pythonvspyt551cf:31249598
vscod805cf:30301675
c4g48928:30535728
2i9eh265:30646982
962ge761:30841072
dsvsc014:30777825
dsvsc015:30821418
h48ei257:31000450
pythontbext0:30879054
cppperfnew:30980852
dwnewjupytercf:31046870
pythonrstrctxt:31093868
nativeloc1:31118317
e80f6927:31120813
dwcopilot:31158714
5b1c1929:31184661
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31333650
g012b348:31231168
pythoneinst12:31251391
bgtreat:31252123
c7cif404:31309980
pythonpulldiag:31287486
6gi0g917:31259950
996jf627:31264550
pythonrdcb7:31268811
usemplatestapi:31297334
jdghv92:31317040
747dc170:31275146
pythonfullctx:31296836
6518g693:31302842
generatesymbolt:31280541
convertfstringf:31280702
j97ad248:31306657
usemarketplace:31336439
0g1h6703:31329154
4f60g487:31327383
nes-emitfast-1:31333560
replacestringexc:31340153
6abeh943:31336334
envsdeactivate2:31338962
0927b901:31340060

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/microsoft/TypeScript/issues/62012

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy