rust-analyzer/crates/ide-db/src
bors 125d43cb2c Auto merge of #13227 - Veykril:core-pref, r=Veykril
Restructure `find_path` into a separate functions for modules and non-module items

Follow up to https://github.com/rust-lang/rust-analyzer/pull/13212
Also renames `prefer_core` imports config to `prefer_no_std` and changes the behavior of no_std path searching by preferring `core` paths `over` alloc

This PR turned into a slight rewrite, so it unfortunately does a few more things that I initially planned to (including a bug fix for enum variant paths)
2022-09-13 13:16:57 +00:00
..
generated style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
imports Restructure find_path into a separate functions for modules and non-module items 2022-09-13 15:15:27 +02:00
syntax_helpers suggest ExtractRefactor if no expressions found 2022-09-11 10:39:25 +05:30
test_data style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
tests Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
active_parameter.rs complete full struct in enum varaint 2022-09-05 03:36:14 +08:00
apply_change.rs minor: Change tracing event level in apply_change 2022-08-17 09:32:25 +02:00
assists.rs style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
defs.rs feat: Handle operators like their trait functions in the IDE 2022-08-05 14:16:36 +02:00
famous_defs.rs Improve "Generate Deref impl" assist 2022-05-16 20:10:46 +02:00
helpers.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
items_locator.rs style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
label.rs style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
lib.rs wip 2022-09-10 20:13:46 +05:30
line_index.rs Make use of NoHash hashing for FileId and CrateId 2022-08-25 20:41:49 +02:00
path_transform.rs Add config to unconditionally prefer core imports over std 2022-09-09 20:04:56 +02:00
rename.rs fix: a bunch of typos 2022-08-17 21:44:58 +08:00
rust_doc.rs style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
search.rs Move reference imports filtering into to_proto layer 2022-09-13 14:58:50 +02:00
source_change.rs Make use of NoHash hashing for FileId and CrateId 2022-08-25 20:41:49 +02:00
symbol_index.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
traits.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
ty_filter.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
use_trivial_contructor.rs add doc strings to use_trivial_contructor.rs 2022-06-22 16:49:50 +02:00