aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_assists/src/handlers
Commit message (Expand)AuthorAgeFilesLines
* Merge #8591 #8638bors[bot]2021-04-235-137/+143
|\
* \ Merge #8317bors[bot]2021-04-231-0/+516
|\ \
| * | Add missing test case for "Convert to named struct" assistunexge2021-04-231-0/+40
| * | Stop iterating reference after made an edit in "Convert to named struct" assistunexge2021-04-231-2/+47
| * | Move reference editing logic into own function to make error handling more ea...unexge2021-04-221-68/+61
| * | Add multi file test for "Convert to named struct" assistunexge2021-04-211-0/+33
| * | Remove `unwrap`s in "Convert to named struct" assistunexge2021-04-211-9/+19
| * | Add larger example for "Convert to named struct" assistunexge2021-04-211-4/+30
| * | Fix incorrectly replacing method calls in "Convert to named struct" assistunexge2021-04-211-17/+41
| * | Add convert tuple struct to named struct assistunexge2021-04-041-0/+345
* | | Merge #8620bors[bot]2021-04-221-14/+22
|\ \ \
| * | | Remove unnecessary braces for extracted block expressionBrandon2021-04-221-14/+22
* | | | Add support for fill match arms of boolean valuesComonad2021-04-211-23/+199
* | | | Merge #8602bors[bot]2021-04-201-28/+45
|\ \ \ \
| * | | | Follow testing style guideJonas Schievink2021-04-201-28/+28
| * | | | Fix panic in `replace_derive_with_manual_impl`Jonas Schievink2021-04-201-0/+17
| |/ / /
* / / / "Inline variable" when on a use of the variableJonas Schievink2021-04-201-38/+185
|/ / /
| | * Don't filter equal nodes in reorder assistsLukas Wirth2021-04-212-10/+6
| | * Add cov_marks to insert_use testsLukas Wirth2021-04-203-39/+36
| | * Rewrite extract_struct_from_enum_variant assistLukas Wirth2021-04-201-85/+91
| | * Remove SyntaxRewriter usage in insert_use in favor of tedLukas Wirth2021-04-203-59/+62
| | * Replace SyntaxRewriter usage with ted in reorder_impl assistLukas Wirth2021-04-201-9/+13
| |/ |/|
* | Add autoimport test with inner itemsJonas Schievink2021-04-191-0/+33
* | Merge #8583bors[bot]2021-04-191-23/+14
|\ \
| * | SimplifyLukas Wirth2021-04-191-23/+14
| | |
| \ \
*-. \ \ Merge #8524 #8527bors[bot]2021-04-192-38/+138
|\ \ \ \ | |_|/ / |/| | |
| | * | Switch introduce_named_lifetime assist to use mutable syntax treeDawer2021-04-141-36/+76
| * | | Fix extract function with partial block selectionBrandon2021-04-151-2/+62
* | | | Merge #8565bors[bot]2021-04-191-28/+100
|\ \ \ \
| * | | | Unindent test according to the style guide.Dawer2021-04-191-23/+23
| * | | | Return to the status quo in #8129Dawer2021-04-181-0/+2
| * | | | Prevent adding useless match armsDawer2021-04-181-11/+27
| * | | | Test fill-match-arms assist: partial with wildcardsDawer2021-04-171-0/+34
| * | | | Fill partial match arms for a tuple of enumsDawer2021-04-161-17/+37
* | | | | Merge #8467bors[bot]2021-04-191-0/+227
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | implement field stuff toojake2021-04-191-22/+106
| * | | | Adds impl Deref assistjake2021-04-111-0/+143
| | |/ / | |/| |
* | | | Fill match arms for a tuple of a single enum.Dawer2021-04-161-10/+12
| |/ / |/| |
* | | Merge #8415bors[bot]2021-04-131-2/+46
|\ \ \
| * | | Add macro testBrandon2021-04-111-0/+32
| * | | Add FIXME for macro caseBrandon2021-04-081-0/+13
| * | | Fix faulty assertion when extracting function with macro callBrandon2021-04-081-2/+1
* | | | internal: don't use `#[should_panic]` for testsAleksey Kladov2021-04-131-16/+2
| |/ / |/| |
* | | Merge #8436bors[bot]2021-04-101-19/+109
|\ \ \
| * | | Fix extract function's mutability of variables outliving the bodyBrandon2021-04-091-19/+109
| |/ /
* | | Insert unnamed consts to ChildBySource DynMapLukas Wirth2021-04-091-1/+1
* | | Merge #8207bors[bot]2021-04-081-11/+94
|\ \ \ | |/ / |/| |
| * | Apply test style fixes to all empty remove_dbg testsivan7702021-03-291-21/+17
| * | Update crates/ide_assists/src/handlers/remove_dbg.rs ivan7702021-03-291-5/+9
| * | Replace empty dbg with unit in letexprs, better removal in blocksivan7702021-03-271-13/+72