8d8d542dfa
3108: Magic Completion for `impl Trait for` Associated Items r=matklad a=kdelorey # Summary This PR adds a set of magic completions to auto complete associated trait items (functions/consts/types). ![Associated Trait Impl](https://user-images.githubusercontent.com/2295721/74493144-d8f1af00-4e96-11ea-93a4-82725bf89646.gif) ## Notes Since the assist and completion share the same logic when figuring out the associated items that are missing, a shared utility was created in the `ra_assists::utils` module. Resolves #1046 As this is my first PR to the rust-analyzer project, I'm new to the codebase, feedback welcomed! Co-authored-by: Kevin DeLorey <2295721+kdelorey@users.noreply.github.com> |
||
---|---|---|
.. | ||
doc_tests | ||
handlers | ||
assist_ctx.rs | ||
ast_transform.rs | ||
doc_tests.rs | ||
lib.rs | ||
marks.rs | ||
utils.rs |