aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_assists
Commit message (Expand)AuthorAgeFilesLines
...
* Split out merge_imports module from helpers::insert_useLukas Wirth2021-04-242-5/+2
*-. Merge #8591 #8638bors[bot]2021-04-237-152/+164
|\ \
| | * Remove SyntaxRewriter::from_fnLukas Wirth2021-04-232-15/+21
| |/ |/|
* | Merge #8317bors[bot]2021-04-233-0/+559
|\ \
| * | 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-212-8/+60
| * | Fix incorrectly replacing method calls in "Convert to named struct" assistunexge2021-04-211-17/+41
| * | Add convert tuple struct to named struct assistunexge2021-04-043-0/+362
* | | 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-194-0/+257
|\ \ \ \ \
| * | | | | implement field stuff toojake2021-04-191-22/+106
| * | | | | Adds impl Deref assistjake2021-04-114-0/+173
| | |_|/ / | |/| | |
* | | | | Add some more error messages to fixture failure casesLukas Wirth2021-04-171-2/+4
| |/ / / |/| | |
* | | | 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
* | | | internal: unfork code paths for unresolved and resolved assistAleksey Kladov2021-04-131-0/+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