rust/crates/ide-completion/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
..
completions Auto merge of #13227 - Veykril:core-pref, r=Veykril 2022-09-13 13:16:57 +00:00
context fix: Fix reference autocompletions using incorrect offsets in macro inputs 2022-08-23 14:29:59 +02:00
render fix: Fix reference autocompletions using incorrect offsets in macro inputs 2022-08-23 14:29:59 +02:00
tests complete full struct in enum varaint 2022-09-05 03:36:14 +08:00
completions.rs Restructure find_path into a separate functions for modules and non-module items 2022-09-13 15:15:27 +02:00
config.rs Restructure find_path into a separate functions for modules and non-module items 2022-09-13 15:15:27 +02:00
context.rs fix: Fix reference autocompletions using incorrect offsets in macro inputs 2022-08-23 14:29:59 +02:00
item.rs Record derive helper attributes, resolve them in IDE layer 2022-07-26 09:26:51 +02:00
lib.rs Restructure find_path into a separate functions for modules and non-module items 2022-09-13 15:15:27 +02:00
render.rs fix: Fix reference autocompletions using incorrect offsets in macro inputs 2022-08-23 14:29:59 +02:00
snippet.rs Restructure find_path into a separate functions for modules and non-module items 2022-09-13 15:15:27 +02:00
tests.rs Restructure find_path into a separate functions for modules and non-module items 2022-09-13 15:15:27 +02:00