Skip to content

Commit 48f38ea

Browse files
committed
Changelog #266
1 parent e52c44e commit 48f38ea

File tree

3 files changed

+42
-1
lines changed

3 files changed

+42
-1
lines changed

generated_config.adoc

+9
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,15 @@ Whether to show keyword hover popups. Only applies when
513513
--
514514
Use markdown syntax for links on hover.
515515
--
516+
[[rust-analyzer.hover.maxSubstitutionLength]]rust-analyzer.hover.maxSubstitutionLength (default: `20`)::
517+
+
518+
--
519+
Whether to show what types are used as generic arguments in calls etc. on hover, and what is their max length to show such types, beyond it they will be shown with ellipsis.
520+
521+
This can take three values: `null` means "unlimited", the string `"hide"` means to not show generic substitutions at all, and a number means to limit them to X characters.
522+
523+
The default is 20 characters.
524+
--
516525
[[rust-analyzer.hover.memoryLayout.alignment]]rust-analyzer.hover.memoryLayout.alignment (default: `"hexadecimal"`)::
517526
+
518527
--

generated_features.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ Note: `?`, `|` and `->` do not currently trigger this behavior in the VSCode edi
334334

335335

336336
=== Hover
337-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/hover.rs#L106[hover.rs]
337+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/hover.rs#L114[hover.rs]
338338

339339
Shows additional information, like the type of an expression or the documentation for a definition when "focusing" code.
340340
Focusing is usually hovering with a mouse, but can also be triggered with a shortcut.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
= Changelog #266
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:59bc7b49d0ad319de8c477c63da552cbc8a05e4c[] +
7+
Release: release:2024-12-30[] (`v0.3.2237`)
8+
9+
== New Features
10+
11+
* pr:18707[] show substitution where hovering over generic things.
12+
* pr:18743[] unify handling of path diagnostics in `hir-ty`.
13+
14+
== Fixes
15+
16+
* pr:18744[] (first contribution) treat `;` as a terminator rather than part of a glued expression.
17+
* pr:18756[] add missing enum name when hovering on variant fields.
18+
* pr:18778[] fix flycheck diagnostics flickering for binary targets.
19+
* pr:18784[] do not merge spans with different anchors.
20+
* pr:18789[] fix invalid `-O` flag used by `cfg` discovery.
21+
* pr:18722[] rename `rust-analyzer.statusBar.documentSelector` to `showStatusBar`, add `always` and `never` options.
22+
23+
== Internal Improvements
24+
25+
* pr:18774[] implement parameter variance inference.
26+
* pr:18718[] standardize iterator passing in `SyntaxFactory`.
27+
* pr:18760[], pr:18762[] work around leaking `salsa` cycles.
28+
* pr:18761[] swallow `config value is not set` Cargo error.
29+
* pr:18754[] clean up target fetching for Cargo metadata.
30+
* pr:18785[] clean up toolchain info fetching.
31+
* pr:18750[] revert "disable `rustc` test metrics".
32+
* pr:18787[] automatically cancel CI checks on new push to PR.

0 commit comments

Comments
 (0)