-
Notifications
You must be signed in to change notification settings - Fork 108
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
Auto imports #167
Comments
This really needs to be implemented in tsserver in the form of a code-fix. If/when it does it should be possible to implement support for this in tide, but not before. |
Fixing missing imports is supported since TS 2.2. I just tried it with tide-fix and it works. There seem to be more improvements coming as well. |
Auto imports works. I know that because I implemented code-fixes and that was my first test-case :) What @ivikash ask for is removing imports which are not being used. That is AFAIK currently unsupported. |
There is an open issue for @josteink microsoft/TypeScript#7849 is linked to auto-complete feature, I guess the idea is to add the import automatically once the user select entry via autocomplete. |
I guess this question can be considered answered by now, so I'm closing it. If someone feels like working on this, we're very friendly to PRs :) |
Hey, I wanted to know if there is a way for
autoimports
, something likeOptimizing Imports
available in webstorm https://www.jetbrains.com/help/webstorm/2017.1/optimizing-imports.htmlThe text was updated successfully, but these errors were encountered: