-
Notifications
You must be signed in to change notification settings - Fork 36.4k
Description
Issue Type: Bug
I created a basic react app with the CRA utility and added another file Test.js:
export default function Test({}) {
return <>Test</>
}
While Intellisense recognizes this file and offers completion when I type <T somewhere else, it doesn't auto-import it, when selected.

This also applies to installed components like Bootstrap for React or MDBReact. The correct completions are shown, but it doesn't import them.

It used to work, but today it suddenly doesn't work anymore. Neither on new projects nor on old ones, where it definitely did work. I don't recall updating VSCode, but I guess I did that recently, based on the version below. I also updated Node and NPM, should that be important.
VS Code version: Code 1.57.1 (507ce72, 2021-06-17T13:26:56.255Z)
OS version: Linux x64 5.4.0-73-generic snap
Restricted Mode: No
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 3900) |
| GPU Status | 2d_canvas: unavailable_software gpu_compositing: disabled_software multiple_raster_threads: enabled_on oop_rasterization: disabled_off opengl: disabled_off rasterization: disabled_software skia_renderer: enabled_on video_decode: disabled_software vulkan: disabled_off webgl: unavailable_software webgl2: unavailable_software |
| Load (avg) | 3, 3, 2 |
| Memory (System) | 15.50GB (0.96GB free) |
| Process Argv | --force-user-env --no-sandbox --unity-launch --no-sandbox --crash-reporter-id 1fc55df9-b43f-42d8-9dfd-4fb61e8710bc |
| Screen Reader | no |
| VM | 0% |
| DESKTOP_SESSION | plasma |
| XDG_CURRENT_DESKTOP | KDE |
| XDG_SESSION_DESKTOP | KDE |
| XDG_SESSION_TYPE | x11 |
Extensions (15)
| Extension | Author (truncated) | Version |
|---|---|---|
| vscode-css-formatter | aes | 1.0.1 |
| markdown-table-prettify | dar | 3.4.0 |
| gitlens | eam | 11.5.1 |
| vscode-npm-script | eg2 | 0.3.22 |
| rest-client | hum | 0.24.5 |
| latex-workshop | Jam | 8.19.2 |
| rainbow-csv | mec | 1.8.1 |
| vscode-docker | ms- | 1.14.0 |
| python | ms- | 2021.6.944021595 |
| vscode-pylance | ms- | 2021.6.2 |
| jupyter | ms- | 2021.6.999406279 |
| vetur | oct | 0.34.1 |
| vscode-scss-formatter | sib | 2.2.2 |
| vscode-ltex | val | 10.4.0 |
| json | Zai | 2.0.2 |
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255cf:30323309
vscorehov:30309549
vscod805:30301674
binariesv615cf:30323120