Skip to content

Conversation

rafaeldeoliveira
Copy link
Contributor

@rafaeldeoliveira rafaeldeoliveira commented Sep 4, 2020

idk if this is the best way to do it, but it works

add-imports

fixes #96

@ssilve1989
Copy link

@georgewfraser Any update on if this can be added? I am unable to get auto-import/complete working even on save/format with a Bazel project.

@georgewfraser
Copy link
Owner

Hey sorry for slow review. I'm supportive of this change, and I think it would be better to put "reorganize imports" behind a code-action once this is in. But I think this isn't quite the right way to do it, it crosses a lot of weird boundaries in how the methods are organized.

@rafaeldeoliveira
Copy link
Contributor Author

Hi @georgewfraser, I think that in the next few weeks i'll be able to make a proper implementation, I'm closing this PR.

@albfan
Copy link
Contributor

albfan commented Mar 5, 2023

I tested this and just works. Has the benefit to use the selected class from dropdown so import will be correct in case of ambiguity.

@georgewfraser any suggestion on how to refactor this?

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

Successfully merging this pull request may close these issues.

Add-import on completion
4 participants