rust-analyzer/crates
Chayim Refael Friedman b5486ffc42 Show substitution where hovering over generic things
There are few things to note in the implementation:

First, this is a best-effort implementation. Mainly, type aliases may not be shown (due to their eager nature it's harder) and partial pathes (aka. hovering over `Struct` in `Struct::method`) are not supported at all.

Second, we only need to show substitutions in expression and pattern position, because in type position all generic arguments always have to be written explicitly.
2024-12-20 11:30:19 +02:00
..
base-db Remove patch sysroot cfg-if hack 2024-12-09 11:42:51 +01:00
cfg Support cfg(true) and cfg(false) 2024-10-27 10:46:49 +02:00
edition Properly handle different defaults for severity of lints 2024-12-11 20:48:41 +02:00
hir Show substitution where hovering over generic things 2024-12-20 11:30:19 +02:00
hir-def Rename test fixture crates to ra_test_fixture 2024-12-09 11:40:21 +01:00
hir-expand Merge pull request #18674 from Veykril/push-lrxotqknvxvr 2024-12-13 08:50:45 +00:00
hir-ty Bump typos 2024-12-13 11:45:44 +02:00
ide Show substitution where hovering over generic things 2024-12-20 11:30:19 +02:00
ide-assists Show substitution where hovering over generic things 2024-12-20 11:30:19 +02:00
ide-completion Show expansion errors in expand_macro feature 2024-12-13 09:36:03 +01:00
ide-db Show substitution where hovering over generic things 2024-12-20 11:30:19 +02:00
ide-diagnostics Fix typo in error message for invalid casting 2024-12-12 15:42:21 +01:00
ide-ssr Show expansion errors in expand_macro feature 2024-12-13 09:36:03 +01:00
intern internal: Implement naked_asm! builtin 2024-12-12 17:43:27 +01:00
limit Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
load-cargo fix: Fix sourceroot construction for virtual manifests 2024-12-12 12:58:18 +01:00
mbe fix: FIx mbe bench tests being iteration order dependent 2024-10-21 11:54:49 +02:00
parser Properly handle different defaults for severity of lints 2024-12-11 20:48:41 +02:00
paths Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
proc-macro-api internal: Drop proc-macro server support for ~1.66.0 and older toolchains 2024-12-12 15:06:14 +01:00
proc-macro-srv fix: Fix proc-macro dylib names on windows 2024-12-15 17:38:44 +01:00
proc-macro-srv-cli Do not require a special env var to be set for the proc-macro-srv 2024-12-13 09:29:16 +01:00
profile Use c"lit" for CStrings without unwrap 2024-12-02 18:16:36 +00:00
project-model fix: Fix sourceroot construction for virtual manifests 2024-12-12 12:58:18 +01:00
ra-salsa Fix a few typos 2024-12-13 09:54:35 +01:00
rust-analyzer Show substitution where hovering over generic things 2024-12-20 11:30:19 +02:00
span internal: log original syntax on panic 2024-10-23 12:56:00 -07:00
stdx Merge pull request #18074 from ChayimFriedman2/typeref-source-map 2024-10-28 11:01:12 +00:00
syntax minor: Add item_static constructor to SyntaxFactory 2024-12-11 10:32:32 -05:00
syntax-bridge When glueing together tokens from macros, merge their spans 2024-09-29 22:58:15 +03:00
test-fixture Rename test fixture crates to ra_test_fixture 2024-12-09 11:40:21 +01:00
test-utils Remove unstable attributes in minicore 2024-12-09 11:17:17 +02:00
toolchain Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
tt Fix new nightly lints 2024-10-22 11:48:41 +02:00
vfs Rename object_safety to dyn_compatibility 2024-09-29 07:26:45 -04:00
vfs-notify Auto merge of #17843 - mo8it:flycheck, r=Veykril 2024-08-12 09:27:47 +00:00