vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Automatic import not working anymore

Open fedeolto opened this issue 2 years ago • 1 comments

Type: Bug

I'm working on a typescript react native project, I updated to last version of VisualStudioCode this morning and since then the automatic imports are not working anymore. When I use a component and need to import it, I press cmd+. and I can see the available options like usual, but when I select one of them and press enter, the import is not added

I'm on Mac with Monterey 12.4

Thank you so much for this amazing editor

VS Code version: Code 1.74.0 (Universal) (5235c6bb189b60b01b1f49062f4ffa42384f8c91, 2022-12-05T16:43:37.594Z) OS version: Darwin x64 21.5.0 Modes: Sandboxed: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz (4 x 3100)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 5, 5, 5
Memory (System) 16.00GB (0.06GB free)
Process Argv --crash-reporter-id 2c3723e5-32f0-4bf3-979b-14722778231a
Screen Reader no
VM 0%
Extensions (26)
Extension Author (truncated) Version
atlascode atl 2.10.12
doxdocgen csc 1.4.0
vscode-eslint dba 2.2.6
prettier-vscode esb 9.10.3
better-cpp-syntax jef 1.16.3
syntax-project-pbxproj mar 0.1.3
cmake-tools ms- 1.12.27
cpptools ms- 1.13.6
cpptools-extension-pack ms- 1.3.0
color-highlight nau 2.5.0
vetur oct 0.36.1
java red 1.13.0
vscode-xml red 0.22.0
vscode-yaml red 1.10.1
sass-indented syl 1.8.23
cmake twx 0.0.17
intellicode-api-usage-examples Vis 0.2.6
vscodeintellicode Vis 1.2.29
vscode-gradle vsc 3.12.6
vscode-java-debug vsc 0.47.0
vscode-java-dependency vsc 0.21.1
vscode-java-pack vsc 0.25.7
vscode-java-test vsc 0.37.1
vscode-maven vsc 0.40.1
volar Vue 1.0.11
local-history xyz 1.8.1

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848:30577860
nodejswelcome1:30587005
282f8724:30602487
gswce1:30612156
3d0df643:30613357
dbltrim-noruby:30604474
f6dab269:30613381
fim-prod:30623723
ejf25101:30620729

fedeolto avatar Dec 08 '22 11:12 fedeolto

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

If so, please share a minimal project which demonstrates the issue

mjbvz avatar Dec 08 '22 17:12 mjbvz

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

vscodenpa avatar Dec 18 '22 11:12 vscodenpa