rust/crates/ide_completion/src
bors[bot] 2fb6f5e46a
Merge #11218
11218: fix: Correct has_ref detection, avoiding duplicate &mut insertion on parameter completion r=Veykril a=weirane

The original code fails to detect there's a ref in scenarios such as `&mut s` and `& s` because `WHITESPACE` and `IDENT` got reversed.

Closes #11199.

Co-authored-by: Wang Ruochen <wrc@ruo-chen.wang>
2022-01-06 23:17:51 +00:00
..
completions refactor: apply review suggestions 2022-01-04 19:30:57 -03:00
render minor: Simplify 2022-01-04 10:56:28 +01:00
tests fix(completions): improve fn_param 2022-01-04 15:03:46 -03:00
completions.rs minor: Simplify 2022-01-04 10:56:28 +01:00
config.rs Simplify 2021-10-11 21:49:50 +02:00
context.rs Merge #11218 2022-01-06 23:17:51 +00:00
item.rs Introduce SymbolKind::Derive 2021-12-04 18:18:09 +01:00
lib.rs Show case-insensitive exact matches instead of fuzzy flyimport for short paths 2021-12-11 14:47:11 +01:00
patterns.rs match_ast! takes a pattern to allow underscore usage 2021-12-14 12:44:31 +01:00
render.rs Merge #11218 2022-01-06 23:17:51 +00:00
snippet.rs introduce hacks module 2021-12-28 18:57:13 +03:00
tests.rs Remove CompletionKind in favor of CompletionItemKind 2021-10-27 17:23:43 +02:00