aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_assists/src/handlers/generate_default_from_new.rs
Commit message (Collapse)AuthorAgeFilesLines
* internal: add default to minicoreAleksey Kladov2021-06-171-32/+51
|
* Remove attrshi-rustin2021-05-151-5/+1
|
* Address comments and add more testshi-rustin2021-05-151-25/+249
| | | | | | Fix tests Fmt code
* Generate the impl block via generate_trait_impl_texthi-rustin2021-05-151-2/+45
|
* Rename target_ty to self_tyLukas Wirth2021-03-291-1/+1
|
* Use upstream cov-markLaurențiu Nicola2021-03-081-9/+8
|
* 7708: rust ideomatic code fixes.Chetan Khilosiya2021-03-061-9/+11
|
* 7708: handle both FamousDefs fixture and plain code.Chetan Khilosiya2021-03-061-8/+18
| | | | Also fix typo in example.
* 7708: Added the updated implementation of is_default_implemented.Chetan Khilosiya2021-03-061-33/+31
| | | | The implementation uses hir create to find the implemented trait.
* 7708: Added the logic to check is default impl is already present.Chetan Khilosiya2021-03-061-18/+97
| | | | Also added test cases for code present within module.
* 7708: Updated generate default fn logic.Chetan Khilosiya2021-03-061-22/+48
|
* 7708: Added the work for review comments.Chetan Khilosiya2021-03-061-31/+60
| | | | Also added 1 test case to test multiple struct blocks are present.
* 7708: Fixed many documentaion example issues.Chetan Khilosiya2021-03-061-6/+6
|
* 7708: Format code through rust-analyzer formatter.Chetan Khilosiya2021-03-061-35/+44
|
* 7708: Initial implementation of generate Default assist.Chetan Khilosiya2021-03-061-0/+221
The Generate Default impl from new function.