import fix / autocomplete requires type checking JS/JSX #36134
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Suggestion
An idea for TypeScript
Extracted issue from https://code.visualstudio.com/docs/nodejs/working-with-javascript#_type-checking-javascript
Auto complete of imports in JS/JSX files does not work properly unless type checking of JS/JSX files is explicitly enabled. This is counter intuitive, and forces the user to endure potentially unwanted type errors in order to have working autocomplete of imports.
It's extra confusing because the autocomplete does work for symbols exported from modules that are already imported (so it seems like it should work but is flaky). It took me a long time to find this problem.
The text was updated successfully, but these errors were encountered: