aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src/handlers
Commit message (Expand)AuthorAgeFilesLines
* 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
* 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
|/
* Enable fill_match_arms in macrosLukas Wirth2021-01-271-3/+35
* Add failing test caseDániel Buga2021-01-261-0/+28
* Deduplicate variant matchingDániel Buga2021-01-222-42/+6
* replace_if_let_with_match: don't assume sad patternDániel Buga2021-01-221-2/+88
* Merge #7310 #7395bors[bot]2021-01-221-0/+228
|\
| * Add assist: add lifetime to type #7200Benjamin Coenen2021-01-211-16/+21
| * Add assist: add lifetime to type #7200Benjamin Coenen2021-01-181-0/+6
| * Add assist: add lifetime to type #7200Benjamin Coenen2021-01-171-0/+217
* | Treat BlockExpr as a potential module originJonas Schievink2021-01-201-5/+14
* | .Aleksey Kladov2021-01-194-18/+22
* | Show deprecated completions for deprecated traitsKirill Bulatov2021-01-181-1/+1