aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src
Commit message (Expand)AuthorAgeFilesLines
* 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
| * 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-033-0/+848
* | 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-223-42/+25
* replace_if_let_with_match: don't assume sad patternDániel Buga2021-01-221-2/+88
* Merge #7310 #7395bors[bot]2021-01-223-0/+249
|\
| * Add assist: add lifetime to type #7200Benjamin Coenen2021-01-212-18/+23
| * Add assist: add lifetime to type #7200Benjamin Coenen2021-01-181-0/+6
| * Add assist: add lifetime to type #7200Benjamin Coenen2021-01-173-0/+238
* | Treat BlockExpr as a potential module originJonas Schievink2021-01-201-5/+14
* | .Aleksey Kladov2021-01-195-19/+23
* | Show deprecated completions for deprecated traitsKirill Bulatov2021-01-181-1/+1
* | Merge #7297 #7338bors[bot]2021-01-182-42/+40
|\ \
| * | Add flyimport completion for trait assoc itemsKirill Bulatov2021-01-162-42/+40
| |/
* | Merge #7291bors[bot]2021-01-181-1/+1
|\ \ | |/ |/|
| * Wrap remaining self/super/crate in Name{Ref}Lukas Wirth2021-01-151-1/+1
* | Share import_assets and related entitiesKirill Bulatov2021-01-167-300/+34