aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/find_path.rs
Commit message (Collapse)AuthorAgeFilesLines
* find_path: return shorter paths for external itemsJonas Schievink2020-06-121-8/+51
| | | | | If a containing module is already in scope, there's no need to use the full path to the item.
* Reorder importsJonas Schievink2020-06-051-1/+1
|
* Make `find_path_inner` private againJonas Schievink2020-06-051-1/+1
|
* defining_crate -> krateJonas Schievink2020-06-051-1/+1
|
* Use `ImportMap` in `find_path`, remove old queriesJonas Schievink2020-06-041-80/+119
|
* Add an ImportMapJonas Schievink2020-06-041-11/+8
|
* Make `find_path_inner` a queryJonas Schievink2020-05-201-4/+3
| | | | | This eliminates any remaining performance problems in the "Implement default members" assist (at least that I've found).
* Switch to new magic marksAleksey Kladov2020-05-201-27/+30
|
* Cleanup query fn namingAleksey Kladov2020-05-191-2/+4
|
* Move public API to the topAleksey Kladov2020-05-191-9/+9
|
* SimplifyAleksey Kladov2020-05-191-7/+3
|
* Cleanup importsAleksey Kladov2020-05-191-3/+5
|
* Querify `importable_locations_in_crate`Jonas Schievink2020-05-181-4/+7
| | | | | This brings the time needed to compute the `add_missing_impl_members` assist down from ~5 minutes to 20 seconds
* Prefer core/alloc paths on #![no_std]Jonas Schievink2020-04-251-8/+70
|
* find_path: Builtins are always in scopeFlorian Diebold2020-04-181-1/+20
| | | | Fixes #3977.
* Use `dyn Trait` for working with databseAleksey Kladov2020-03-161-4/+4
| | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate).
* Use `Index` for CrateGraphAleksey Kladov2020-03-091-1/+1
|
* Less abstract CrateData apiKirill Bulatov2020-03-091-1/+1
|
* Add the testsKirill Bulatov2020-01-281-0/+41
|
* Apply the proposed refactoringKirill Bulatov2020-01-281-38/+43
|
* Prefer imports starting with stdKirill Bulatov2020-01-271-6/+31
|
* RenameAleksey Kladov2020-01-151-6/+6
|
* Apply review suggestionsFlorian Diebold2020-01-111-9/+8
|
* Use `self`Florian Diebold2020-01-111-0/+20
|
* CleanupFlorian Diebold2020-01-111-13/+25
|
* Handle cyclesFlorian Diebold2020-01-111-5/+54
|
* Use query for importable locationsFlorian Diebold2020-01-111-29/+65
|
* Use super, don't use private importsFlorian Diebold2020-01-111-2/+48
|
* Use shortest pathFlorian Diebold2020-01-111-4/+19
|
* handle most casesFlorian Diebold2020-01-111-11/+59
|
* basics workingFlorian Diebold2020-01-111-5/+113
|
* more WIPFlorian Diebold2020-01-111-12/+90
|
* find_path WIPFlorian Diebold2020-01-111-0/+44