-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic imports for react function not working in js but resolved correctly in ts #30549
Comments
same thing,VSCode doesn't show autoimport suggestions on my machine. |
@lynxtaa Can you please try collecting the TS Server log to see if there are any exceptions or errors:
Look through that log file for errors or stack traces. If you can share the log, I can also take a look to see if anything stands out
|
Only error I found in logs was about TSLint:
|
Confirmed on TypeScript-3.4-rc Installing |
VSCode doesn't show autoimport suggestions on my machine.
I've reproduced this issue on previous stable release and on insiders version (clean install, no user settings).
code --verbose
and console in dev. tools shows nothing suspicious.On launch it creates operation_log.txt in temp folder:
And it creates a folder
vscode-typescript
with an empty filetscancellation-6e5026c63e8646d8cd9f.tmp3
Auto imports does work as expected on a different machine. Is there anything i can try to solve this issue?
Steps to Reproduce:
npm install react
. Create index.js. Start typinguseSta
. No auto import suggestionsDoes this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: