rust-analyzer/crates
bors[bot] 4204e35563
Merge #11879
11879: Suggest infered type in auto complete r=HKalbasi a=HKalbasi

fix #11855

It doesn't work for return types and consts (so their tests are failing) because I can't find their body node in the original file. (Are these original and fake file documented somewhere?)

Also it currently needs to type first character of the type (or manual ctrl+space) to open the auto complete panel, is it possible to open it automatically on typing `:` and `->`?


Co-authored-by: hkalbasi <hamidrezakalbasi@protonmail.com>
2022-04-03 07:05:41 +00:00
..
base_db internal: Refactor FamousDefs builtin crate search 2022-03-30 22:23:54 +02:00
cfg minor: Bump dependencies 2022-03-22 17:42:24 +01:00
flycheck minor: Bump dependencies 2022-03-22 17:42:24 +01:00
hir internal: Remove PathResolution::AssocItem 2022-04-01 18:32:05 +02:00
hir_def suggest infered type in auto complete 2022-04-03 11:17:33 +04:30
hir_expand Type mismatch when last expression is noreturn asm 2022-03-30 19:07:02 +05:30
hir_ty fix: Don't rely on lang items to find primitive impls 2022-04-02 15:32:40 +02:00
ide Simplify completion import insertion 2022-04-02 01:42:21 +02:00
ide_assists Merge #11877 2022-04-02 22:12:59 +00:00
ide_completion suggest infered type in auto complete 2022-04-03 11:17:33 +04:30
ide_db Merge #11877 2022-04-02 22:12:59 +00:00
ide_diagnostics internal: Enforce Resolver to always have a module scope 2022-03-31 11:12:08 +02:00
ide_ssr internal: Remove PathResolution::AssocItem 2022-04-01 18:32:05 +02:00
limit Use compare_exchange_weak in limit::Limit::check 2022-01-28 18:19:35 +03:00
mbe minor: Bump dependencies 2022-03-22 17:42:24 +01:00
parser recover from missing type annotation 2022-04-01 17:20:54 +04:30
paths Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
proc_macro_api minor: Bump dependencies 2022-03-22 17:42:24 +01:00
proc_macro_srv fix comment 2022-03-25 15:30:52 +01:00
proc_macro_test minor: Bump dependencies 2022-03-22 17:42:24 +01:00
profile minor: Bump dependencies 2022-03-22 17:42:24 +01:00
project_model internal: Refactor FamousDefs builtin crate search 2022-03-30 22:23:54 +02:00
rust-analyzer suggest infered type in auto complete 2022-04-03 11:17:33 +04:30
sourcegen Bump xshell and fix dist 2022-03-17 08:53:33 +02:00
stdx minor: Bump dependencies 2022-03-22 17:42:24 +01:00
syntax Merge #11877 2022-04-02 22:12:59 +00:00
test_utils Merge #11805 2022-03-23 20:20:09 +00:00
text_edit minor: Bump dependencies 2022-03-22 17:42:24 +01:00
toolchain Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
tt minor: Bump dependencies 2022-03-22 17:42:24 +01:00
vfs minor: Bump dependencies 2022-03-22 17:42:24 +01:00
vfs-notify minor: Bump dependencies 2022-03-22 17:42:24 +01:00