rust/crates/ra_assists/src
bors[bot] 8d8d542dfa
Merge #3108
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>
2020-02-17 09:34:08 +00:00
..
doc_tests Rename add import assist 2020-02-07 23:53:08 +02:00
handlers Merge #3108 2020-02-17 09:34:08 +00:00
assist_ctx.rs Simplify Assists interface 2020-02-09 16:03:54 +01:00
ast_transform.rs More orthogonal path editing 2020-01-15 18:48:28 +01:00
doc_tests.rs Simplify Assists interface 2020-02-09 16:03:54 +01:00
lib.rs Added a utility function that can be used to determine the missing impl items. 2020-02-09 12:24:59 -06:00
marks.rs
utils.rs Fixing minor suggestions and added module level documentation. 2020-02-11 10:04:30 -06:00