aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src
Commit message (Expand)AuthorAgeFilesLines
* Merge #7620bors[bot]2021-02-164-238/+1463
|\
| * expose hir::Type::type_paramtersVladyslav Katasonov2021-02-131-24/+5
| * allow try expr? with return None in extracted functionVladyslav Katasonov2021-02-131-4/+42
| * allow try expr? when extacting functionVladyslav Katasonov2021-02-131-30/+347
| * handle return, break and continue when extracting functionVladyslav Katasonov2021-02-134-125/+1036
| * migrate body span to {parent,text_range}Vladyslav Katasonov2021-02-131-134/+112
* | Merge #7656bors[bot]2021-02-141-3/+2
|\ \
| * | Implement constructor usage search for almost all itemsLukas Wirth2021-02-121-3/+2
* | | strip type parameter defaults when generating impl genericsDomantas Jadenkus2021-02-132-7/+49
* | | cargo fmtDomantas Jadenkus2021-02-134-14/+21
* | | use generate_impl_text in replace_derive_with_manual_implDomantas Jadenkus2021-02-131-20/+12
* | | use generate_impl_text in generate_implDomantas Jadenkus2021-02-132-41/+14
* | | use generate_impl_text in generate_from_implDomantas Jadenkus2021-02-132-45/+30
* | | Group generate getter/setter assistLukas Wirth2021-02-133-12/+12
| |/ |/|
* | cargo fmtDomantas Jadenkus2021-02-131-1/+4
* | make it work for record-style variantsDomantas Jadenkus2021-02-131-14/+46
* | update docDomantas Jadenkus2021-02-132-2/+2
* | handle generic enumsDomantas Jadenkus2021-02-131-8/+58
* | allow any field typeDomantas Jadenkus2021-02-131-5/+16
* | use Self instead of enum nameDomantas Jadenkus2021-02-131-5/+5
|/
* Use NameLike in FileReference directly as its not exported from ide anymoreLukas Wirth2021-02-121-2/+1
* Refactor reference searching to work with the astLukas Wirth2021-02-121-50/+60
* Add `find_impl_block_end` assist helperYoshua Wuyts2021-02-126-18/+171
* Merge #7617bors[bot]2021-02-109-68/+603
|\
| * Add getter/setter assistsYoshua Wuyts2021-02-099-68/+603
* | Add #[track_caller] to assist testsYoshua Wuyts2021-02-091-0/+4
|/
* AdtDef -> AdtAleksey Kladov2021-02-076-14/+14
* Merge #7572bors[bot]2021-02-053-29/+30
|\
| * Add `find_or_create_impl_block` to assist utilsYoshua Wuyts2021-02-053-29/+30
* | Merge #7574bors[bot]2021-02-051-2/+2
|\ \
| * | Remove redundant clonesYoshua Wuyts2021-02-051-2/+2
| |/
| |
| \
*-. \ Merge #7570 #7571bors[bot]2021-02-052-1/+10
|\ \ \ | |_|/ |/| |
| * | Add doc gen to the `generate_enum_match_method` assistYoshua Wuyts2021-02-052-1/+10
* | | Merge #7562bors[bot]2021-02-055-64/+317
|\| | | |/ |/|
| * Move `find_struct_impl` to assist utilsYoshua Wuyts2021-02-053-154/+85
| * add `generate-enum-match` assistYoshua Wuyts2021-02-053-0/+322
* | Merge #7535bors[bot]2021-02-053-0/+2188
|\ \ | |/ |/|
| * allow extracted body to be indented(dedent it)Vladyslav Katasonov2021-02-051-13/+101
| * allow transitive `&mut` access for fields in extract_functionVladyslav Katasonov2021-02-051-27/+92
| * add tests for extracting if/match/while/for exprsVladyslav Katasonov2021-02-041-0/+120
| * document extract_function assist implementationVladyslav Katasonov2021-02-041-22/+126
| * use `&T` for non copy params of extracted functionVladyslav Katasonov2021-02-041-2/+55
| * split extract_function into pieces and order themVladyslav Katasonov2021-02-041-380/+510
| * remove ignored test for downgrading mut to sharedVladyslav Katasonov2021-02-031-30/+0
| * allow calling `&mut` methods on outer vars when extracing functionVladyslav Katasonov2021-02-031-0/+116
| * allow `&mut param` when extracting functionVladyslav Katasonov2021-02-031-3/+107
| * allow modifications of vars from outer scope inside extracted functionVladyslav Katasonov2021-02-031-45/+336
| * allow local variables to be used after extracted bodyVladyslav Katasonov2021-02-031-41/+183
| * change TODO to FIXMEVladyslav Katasonov2021-02-031-2/+2
| * disable test for downgrading mutability on extractVladyslav Katasonov2021-02-031-0/+3