rust-analyzer/crates/ide-assists/src
bors 5e3ad5ddf6 Auto merge of #13592 - MihailMihov:trait_impl_assist, r=Veykril
Add assist to generate trait impl's

resolves #13553

This pull request adds a `generate_trait_impl` assist, which generates trait impl's for a type. It is almost the same as the one to generate impl's and I also reduced the trigger range to only outside the `RecordFieldList`. Also moved all the tests into separate test functions. A few of the old tests seemed redundant, so I didn't port them.
2022-11-24 20:44:33 +00:00
..
handlers Auto merge of #13592 - MihailMihov:trait_impl_assist, r=Veykril 2022-11-24 20:44:33 +00:00
tests Reduce trigger range of generate_impl assist and update tests 2022-11-21 22:27:26 +02:00
utils Migrate most of ide_assists::utils to format arg capture 2022-10-10 10:47:54 -04:00
assist_config.rs feat: add config for inserting must_use in generate_enum_as_method 2022-10-24 13:18:24 +05:30
assist_context.rs Import serde derives on converting json to struct 2022-08-06 20:12:21 +04:30
lib.rs Combine generate_impl and generate_trait_impl into a single file 2022-11-21 22:58:43 +02:00
tests.rs feat: add config for inserting must_use in generate_enum_as_method 2022-10-24 13:18:24 +05:30
utils.rs fix(assists): remove item_const which had default value when implement missing members` 2022-11-19 19:38:53 +08:00