-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
DuplicateAn existing issue was already createdAn existing issue was already createdNeeds InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.
Milestone
Description
Issue Type: Bug
Hello, since adding typescript, my regular js projects will not find the correct auto imports.
For example, auto import suggestion for useState() react hook shows as
"react/cjs/react.production.min"
"react/cjs/react.development"
If I add typescript to the project, it finds the correct import regardless of file extension (js,jsx,ts,tsx).
VS Code version: Code 1.65.0 (b5205cc8eb4fbaa726835538cd82372cc0222d43, 2022-03-02T11:12:08.962Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
Extensions (14)
| Extension | Author (truncated) | Version |
|---|---|---|
| TabOut | alb | 0.2.1 |
| vscode-intelephense-client | bme | 1.8.2 |
| vscode-eslint | dba | 2.2.2 |
| prettier-vscode | esb | 9.3.0 |
| auto-rename-tag | for | 0.1.10 |
| php-namespace-resolver | Meh | 1.1.8 |
| code-beautifier | mic | 2.3.3 |
| dotenv | mik | 1.0.1 |
| material-icon-theme | PKi | 4.14.1 |
| vscode-thunder-client | ran | 1.12.2 |
| colonize | vms | 2.2.2 |
| vscode-todo-highlight | way | 1.0.5 |
| wordpress-toolbox | wor | 1.3.12 |
| material-theme | zhu | 3.13.20 |
(1 theme extensions excluded)
Metadata
Metadata
Assignees
Labels
DuplicateAn existing issue was already createdAn existing issue was already createdNeeds InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.