aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src/handlers/auto_import.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move ModPath->ast::Path function to IDE layerAleksey Kladov2020-10-061-2/+5
| | | | closes #6092
* Make ImportPrefix a configuration optionLukas Wirth2020-10-051-6/+10
|
* Merge #6019bors[bot]2020-09-291-6/+2
|\ | | | | | | | | | | | | | | 6019: Remove make::path_from_text r=matklad a=Veykril This removes the `make::path_from_text` function, which according to a note should've been private. I removed it since it didn't really serve a purpose as it was simply wrapping `make::ast_from_text`. Co-authored-by: Lukas Wirth <[email protected]>
| * Remove make::path_from_textLukas Wirth2020-09-161-6/+2
| |
* | Don't unnecessarily unnest imports for import insertionLukas Wirth2020-09-251-2/+31
|/
* Make MergeBehaviour configurableLukas Wirth2020-09-121-5/+2
|
* Fix import insertion breaking nested modulesLukas Wirth2020-09-031-5/+6
|
* Replace insert_use_statement with the new insert_useLukas Wirth2020-09-031-7/+12
|
* :arrow_up: ungrammarAleksey Kladov2020-08-211-1/+1
|
* Don't expose hir::Path out of hirAleksey Kladov2020-08-151-1/+1
| | | | | | | | | | | | | | 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/+1088