-
Notifications
You must be signed in to change notification settings - Fork 7
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 import namespace like slamhound #286
Comments
Yes, I'm planning to add this very soon, along with detecting unused imports and require declarations. |
+1 |
Note that this functionality is partially available now, since |
I know about it and I like it very much =) (although it appears only work if I already required the namespace somewhere with that alias) But highlight the unused requires and imports as unused would be very helpful to me. And maybe sorting the requires/imports alphabetically. |
Yes, currently it will use your previous requires as an example, I'm planning to improve this soon, and unused requires/imports is coming very soon too. There's also an outstanding issue (#77) for organising |
The current way is fine, since I try to write the tests referring to the namespace with a suggested alias for it =) Problem is only when I forget which was this alias :P anyway, obvious choices would be initials and the last word from namespace:
|
I also miss that "always automagic imports" that all Java IDEs have =) Anyway, nice work! |
Yeah, I'm actually just going to use the matching that's currently used during symbol completion, which would catch both of those cases. I'm not sure if it's going to be too permissive and return too many results though, time will tell. |
Maybe adding it only on the SmartType completion (ctrl + shift + space) |
How about have the functionality like slamhound to auto import dependencies.
Thanks
The text was updated successfully, but these errors were encountered: