You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue occur when all extensions are disabled?: Yes
Type: Bug
How to reproduce:
Initialize a React project
Install some 3rd party libraries (for instance: axios, react-bootstrap, mui, etc.)
Create/open a file App.js or App.jsx
Begin to type a name for an exported entity from the aforementioned library (for example: axios, <Container>, <Grid>, <Image>, etc.)
Expected result:
Intellisense shows an import suggestion for the entity. After selecting one of the suggestions it adds an import on top of the file (for example import axios from 'axios', import {Image} from 'react-bootstrap')
If Intellisense fails to do that for the first time, manually write the desired import. After that Intellisense should update its import suggestion list. It is expected that the same entity imported in another file should be in the Intellisense import suggestions.
Actual result:
Intellisense does not show any suggestions to import the desirable entity.
After manually adding the import (for example import axios from 'axios') Intellisense still fails to show the same suggestion in another file.
Some info
setting.json
is almost empty
extensions
all disabled except for WSL
Ways to initialize the React project
To reporduce the issue:
Use the npm create vite@latest command.
OR create an empty directory, input npm init -y && npm i react react-dom axios
VS Code version: Code 1.88.0 (5c3e652f63e798a5ac2f31ffd0d863669328dc4c, 2024-04-03T13:26:18.741Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 5.15.146.1-microsoft-standard-WSL2
Does this issue occur when all extensions are disabled?: Yes
Type: Bug
How to reproduce:
axios
,<Container>
,<Grid>
,<Image>
, etc.)Expected result:
import axios from 'axios'
,import {Image} from 'react-bootstrap'
)Actual result:
import axios from 'axios'
) Intellisense still fails to show the same suggestion in another file.Some info
setting.json
is almost empty
extensions
all disabled except for WSL
Ways to initialize the React project
To reporduce the issue:
npm create vite@latest
command.npm init -y && npm i react react-dom axios
VS Code version: Code 1.88.0 (5c3e652f63e798a5ac2f31ffd0d863669328dc4c, 2024-04-03T13:26:18.741Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 5.15.146.1-microsoft-standard-WSL2
System Info
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
Extensions (1)
A/B Experiments
Tasks
The text was updated successfully, but these errors were encountered: