aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src/utils/insert_use.rs
Commit message (Collapse)AuthorAgeFilesLines
* Reimplement import merging by making it recursive properly nesting all levelsLukas Wirth2020-09-121-64/+248
|
* Allow merge_imports assists to merge imports of equal visibilityLukas Wirth2020-09-051-6/+11
|
* Remove duplicated import merge logicLukas Wirth2020-09-051-2/+7
|
* Fix segment_iter not iterating segments properlyLukas Wirth2020-09-051-5/+16
|
* Add extra insert_use test for pub(crate) re-export handlingLukas Wirth2020-09-031-8/+14
|
* Fix import insertion breaking nested modulesLukas Wirth2020-09-031-43/+95
|
* Fix inserting imports in front of inner attributesLukas Wirth2020-09-031-1/+51
|
* Replace insert_use_statement with the new insert_useLukas Wirth2020-09-031-8/+10
|
* Impl make::blank_lineLukas Wirth2020-09-031-25/+8
|
* 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
|
* Don't expose hir::Path out of hirAleksey Kladov2020-08-151-3/+2
| | | | | | | | | | | | | | Conjecture: it's impossible to use hir::Path *correctly* from an IDE. I am not entirely sure about this, and we might need to add it back at some point, but I have to arguments that convince me that we probably won't: * `hir::Path` has to know about hygiene, which an IDE can't set up properly. * `hir::Path` lacks identity, but you actually have to know identity to resolve it correctly
* Rename ra_assists -> assistsAleksey Kladov2020-08-131-0/+547