aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src
Commit message (Expand)AuthorAgeFilesLines
* Don't unnecessarily unnest imports for import insertionLukas Wirth2020-09-252-2/+66
* Document AstTransformationAleksey Kladov2020-09-211-0/+28
* Rename impl edit method to be more explicitMatt Hooper2020-09-211-1/+1
* Added test for impl member assist when impl def is missing bracesMatt Hooper2020-09-211-0/+19
* Replace entire impl def instead of only associated items for missing impl mem...Matt Hooper2020-09-211-9/+12
* Merge #5989bors[bot]2020-09-163-103/+287
|\
| * Add make::glob_use_tree function to create star-only UseTreeLukas Wirth2020-09-161-11/+3
| * Fix merge imports failing if the `self` module import is in the wrong treeLukas Wirth2020-09-121-22/+34
| * Tidy up `recursive_merge` implementationLukas Wirth2020-09-121-60/+60
| * Reimplement import merging by making it recursive properly nesting all levelsLukas Wirth2020-09-123-83/+263
* | Make MergeBehaviour configurableLukas Wirth2020-09-126-15/+27
|/
* Properly preserve macro bracesKirill Bulatov2020-09-111-25/+16
* Merge #5955bors[bot]2020-09-112-82/+114
|\
| * Allow merge_imports assists to merge imports of equal visibilityLukas Wirth2020-09-052-6/+61
| * Remove duplicated import merge logicLukas Wirth2020-09-052-77/+43
| * Fix segment_iter not iterating segments properlyLukas Wirth2020-09-051-5/+16
* | One more testKirill Bulatov2020-09-101-0/+2
* | Use better heuristics for replacement text when removing dbg!Kirill Bulatov2020-09-101-37/+116
|/
* Merge #5940bors[bot]2020-09-043-0/+183
|\
| * Remove unnecessary commaAleksei Sidorov2020-09-042-10/+10
| * Fix testsAleksei Sidorov2020-09-042-17/+24
| * Update codegenAleksei Sidorov2020-09-041-0/+13
| * Fix nitpicksAleksei Sidorov2020-09-041-7/+12
| * Resolve most of corner casesAleksei Sidorov2020-09-031-8/+102
| * Initial implementation of the #5085 issueAleksei Sidorov2020-09-032-0/+64
* | Add extra insert_use test for pub(crate) re-export handlingLukas Wirth2020-09-032-12/+19
* | Disable insert_import in extract_struct_from_enum_variant until its fixedLukas Wirth2020-09-031-0/+4
* | Fix import insertion breaking nested modulesLukas Wirth2020-09-035-62/+117
* | Fix inserting imports in front of inner attributesLukas Wirth2020-09-032-3/+54
* | Replace insert_use_statement with the new insert_useLukas Wirth2020-09-034-54/+68
* | Impl make::blank_lineLukas Wirth2020-09-032-26/+9
* | Use mark to check that paths that are too long will not be mergedLukas Wirth2020-09-031-0/+13
* | Tidy up tests and apply suggested changesLukas Wirth2020-09-031-72/+107
* | Add more import insertion testsLukas Wirth2020-09-031-3/+68
* | Begin refactor of import insertionLukas Wirth2020-09-031-468/+440
|/
* Unify namingAleksey Kladov2020-09-031-1/+1
* Reduce path_from_text usageAleksey Kladov2020-08-311-13/+17
* **Inline Variable** works with field shorthandAleksey Kladov2020-08-261-2/+29
* MinorAleksey Kladov2020-08-251-2/+1
* Cleanup invert-ifAleksey Kladov2020-08-251-19/+14
* Merge #5733bors[bot]2020-08-242-119/+617
|\
| * Use new `Definition::usages` API in expand glob importunexge2020-08-201-1/+1
| * Fix importing private modules in expand glob importunexge2020-08-201-0/+52
| * Fix importing unused traits in expand glob importunexge2020-08-201-28/+73
| * Use fixme instead of todounexge2020-08-201-1/+1
| * Use `Definition::find_usages` for finding used items in expand glob importunexge2020-08-202-114/+137
| * Run rustfmtunexge2020-08-201-3/+5
| * Handle more cases in AST replacing in expand glob importunexge2020-08-201-34/+219
| * Improve AST replacing in expand glob importunexge2020-08-201-38/+229
* | Invert if should be smart about is_some, is_none, is_ok, is_errdragfire2020-08-242-1/+38