aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/assists/add_new.rs
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of unwraps in add_newFlorian Diebold2019-12-071-24/+21
| | | | Probably fixes #2464.
* Rename Source -> InFileAleksey Kladov2019-11-281-3/+3
|
* Fix hir for ast::UnionDefAleksey Kladov2019-11-251-2/+2
|
* Uniformalize namingAleksey Kladov2019-11-221-1/+1
|
* 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.