aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/assists/add_new.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename Source::ast -> Source::valueAleksey Kladov2019-11-201-2/+2
|
* Fix add-new assistAleksey Kladov2019-11-151-5/+64
|
* Add add_new assistWesley Norris2019-11-091-0/+379
Adds a new assist to autogenerate a new fn based on the selected struct, excluding tuple structs and unions. The fn will inherit the same visibility as the struct and the assist will attempt to reuse any existing impl blocks that exist at the same level of struct.