-
Notifications
You must be signed in to change notification settings - Fork 189
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
feature request : add a " add all missing import " method in LanguageService #518
Comments
This will be in version 21. Hopefully will release later today (Edit: Nevermind. Want to get #522 in) |
By the way, this is done using |
I have forked the repo and build a local library for my hot fix now . |
@WanderWang cool! By the way, I just updated the declaration file in the dev branch... I forgot to do that earlier. Yeah, that's the way to go. In the future I'll probably have a |
Thanks for your hard working in ts-simple-ast again ! . This feature saved me tens of hours 👍 |
Is your feature request related to a problem? Please describe.
I want to convert a big size typescript library from " global-variable-based " to ES6 modules
Here is a example :
from:
to :
First step , I have added a export keyword with all classes , It works now .
Second step , I need to " add all missing import " ( such as manual in vscode ) programmicly , but failed .
Describe the solution you'd like
Please add a " add all missing import " method on LanguageService ,such as
languageService.orginazeImports
Thanks you
The text was updated successfully, but these errors were encountered: