-
Notifications
You must be signed in to change notification settings - Fork 12.8k
JS/TS auto-import is not as good as Webstorm's #36816
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
Comments
Here's what I see in VS Code insiders in a new project: Accepting the suggestion adds the import. Do auto import suggestions work for you? Is it just the lightbulb that doesn't? The lightbulb for auto imports are only enabled if you enable semantic checking in your JavaScript |
@mjbvz in this particular example you're right: BUT other imports still don't get the suggestion, like for example
then it will manage to suggest |
Duplicate of #36042 |
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
TS Template added by @mjbvz
TypeScript Version: 3.7.5
Search Terms
Steps to Reproduce:
npm install graphql-tools
makeExecutableSchema
It will say
No code actions available
, but if you manually import it then it works:The same function gets automatically imported in Webstorm.
Some auto-imports do work in vscode, like
join
:but not all of them.
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: