aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src/handlers
Commit message (Expand)AuthorAgeFilesLines
* Merge #7620bors[bot]2021-02-163-237/+1459
|\
| * 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-133-124/+1032
| * 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-131-0/+24
* | | cargo fmtDomantas Jadenkus2021-02-133-9/+19
* | | use generate_impl_text in replace_derive_with_manual_implDomantas Jadenkus2021-02-131-20/+12
* | | use generate_impl_text in generate_implDomantas Jadenkus2021-02-131-40/+6
* | | use generate_impl_text in generate_from_implDomantas Jadenkus2021-02-131-45/+16
* | | 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-131-1/+1
* | 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-125-10/+155
* Add getter/setter assistsYoshua Wuyts2021-02-095-66/+494
* AdtDef -> AdtAleksey Kladov2021-02-075-10/+10
* Merge #7572bors[bot]2021-02-052-28/+13
|\
| * Add `find_or_create_impl_block` to assist utilsYoshua Wuyts2021-02-052-28/+13
| |
| \
*-. \ Merge #7570 #7571bors[bot]2021-02-051-1/+9
|\ \ \ | |_|/ |/| |
| * | Add doc gen to the `generate_enum_match_method` assistYoshua Wuyts2021-02-051-1/+9
* | | Merge #7562bors[bot]2021-02-052-62/+215
|\| | | |/ |/|
| * Move `find_struct_impl` to assist utilsYoshua Wuyts2021-02-052-152/+12
| * add `generate-enum-match` assistYoshua Wuyts2021-02-051-0/+293
* | Merge #7535bors[bot]2021-02-051-0/+2159
|\ \ | |/ |/|
| * 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
| * convert IdentPat to Pat via IntoVladyslav Katasonov2021-02-031-5/+5
| * support extracting methods; no mut loweringVladyslav Katasonov2021-02-031-37/+191
| * initial version of extract function assistVladyslav Katasonov2021-02-031-0/+819
* | Make `ModPath`'s representation privateJonas Schievink2021-02-041-2/+2
|/