Skip to content
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

Support adding missing imports #4

Open
bsutton opened this issue Aug 9, 2019 · 1 comment
Open

Support adding missing imports #4

bsutton opened this issue Aug 9, 2019 · 1 comment

Comments

@bsutton
Copy link

bsutton commented Aug 9, 2019

Currently it doesn't seem to find missing imports.

It would be great it could find and add missing imports.

If there is any ambiguity then it should display a list of alternatives and let user choose the appropriate one.

The dialog should have a 'skip' button if I'm uncertain which one to choose. This allows my to disambiguate other imports and come back to any that I need to resolve.

It would be really nice if over time it changed the sort order for the above selection dialog based on the most commonly selected import.

@luanpotter
Copy link
Member

Thanks for the suggestions, @bsutton :)

It would be, but this seems a bit more complex to implement, having to meddle with dart and flutter's APIs, probably. I'd need to do some studying before trying such a feat.

If you'd like to contribute, please be m guest to help out with a PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants