-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat: add #[doc(alias(..))]
-based field and function completions
#14513
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
feat: add #[doc(alias(..))]
-based field and function completions
#14513
Conversation
The flyimport fuzzy-search would also need to search for the aliases, but after trying for an hour or more I didn't really get that working. There were some more ways I could've tried, but they would've involved many callsites again. The alias is at least rendered when you type the real name. |
* removes one method breaking the flow
127560a
to
33ee157
Compare
☔ The latest upstream changes (presumably #14549) made this pull request unmergeable. Please resolve the merge conflicts. |
This is done btw, @Veykril if you got some time |
I wouldn't touch the flyimport stuff for now, it's already fairly complex (and slow) as is. |
☀️ Test successful - checks-actions |
#[doc(alias(..))]
-based field and function completions
Follow-up on #14433
We can now complete fields, functions and some use/mods.
Flyimports don't behave, I don't really have the time to understand the structure there either.
While reading the flyimport code, I removed one method only used there, the closure-tree was a bit confusing, I can revert that if you want.