Skip to content

Commit b92f6f7

Browse files
committed
Changelog #224
1 parent aa961ae commit b92f6f7

File tree

4 files changed

+56
-2
lines changed

4 files changed

+56
-2
lines changed

generated_assists.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@ impl Person {
13501350

13511351
[discrete]
13521352
=== `generate_delegate_trait`
1353-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/generate_delegate_trait.rs#L26[generate_delegate_trait.rs]
1353+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-assists/src/handlers/generate_delegate_trait.rs#L27[generate_delegate_trait.rs]
13541354

13551355
Generate delegate trait implementation for `StructField`s.
13561356

generated_config.adoc

+10
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,11 @@ have more false positives than usual.
386386
Map of prefixes to be substituted when parsing diagnostic file paths.
387387
This should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`.
388388
--
389+
[[rust-analyzer.diagnostics.styleLints.enable]]rust-analyzer.diagnostics.styleLints.enable (default: `false`)::
390+
+
391+
--
392+
Whether to run additional style lints.
393+
--
389394
[[rust-analyzer.diagnostics.warningsAsHint]]rust-analyzer.diagnostics.warningsAsHint (default: `[]`)::
390395
+
391396
--
@@ -515,6 +520,11 @@ How to render the offset information in a memory layout hover.
515520
--
516521
How to render the size information in a memory layout hover.
517522
--
523+
[[rust-analyzer.hover.show.traitAssocItems]]rust-analyzer.hover.show.traitAssocItems (default: `null`)::
524+
+
525+
--
526+
How many associated items of a trait to display when hovering a trait.
527+
--
518528
[[rust-analyzer.imports.granularity.enforce]]rust-analyzer.imports.granularity.enforce (default: `false`)::
519529
+
520530
--

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#L98[hover.rs]
337+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/hover.rs#L99[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,44 @@
1+
= Changelog #224
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:574e23ec508064613783cba3d1833a95fd9a5080[] +
7+
Release: release:2024-03-11[] (`v0.3.1877`)
8+
9+
== New Features
10+
11+
* pr:16662[], pr:16773[], pr:16794[] add test explorer (disabled by default, enable using `rust-analyzer.testExplorer`).
12+
* pr:15938[], pr:16756[] add hover display for trait assoc items
13+
14+
== Fixes
15+
16+
* pr:16723[] (first contribution) complete constants inside format strings.
17+
* pr:16769[] fix argument type inference with associated type `impl Trait`.
18+
* pr:16757[] disable style lints by default (`rust-analyzer.diagnostics.styleLints.enable`).
19+
* pr:16759[] fix "Go to definition" for constants inside range patterns.
20+
* pr:16778[] bump `rustc_pattern_analysis` to fix a panic on mismatched types.
21+
* pr:16770[] fix panic on float numbers without dots in chain calls (`x.1e0`).
22+
* pr:16779[] skip match diagnostics for partially unknown types.
23+
* pr:16690[] use four-space indentation in macro expansion.
24+
* pr:16752[] don't allow destructuring of structs with no public fields.
25+
* pr:16766[] keep attributes in "Generate delegate trait" assist.
26+
* pr:16775[] remove accidental dependency between `parse_macro_expansion` and `parse`.
27+
* pr:16776[] make `SpanMap` accesses lazy to avoid a `salsa` dependency.
28+
* pr:16777[] don't invalid body query results when generating desugared names.
29+
* pr:16781[], pr:16782[] don't escape `\` and `$` in "Extract format expression".
30+
* pr:16719[] add basic support for the VS Code Native Debug extension.
31+
32+
== Internal Improvements
33+
34+
* pr:16722[] (first contribution) avoid some allocations.
35+
* pr:16748[] compute syntax validation errors on demand.
36+
* pr:16755[] use `PATH` For toolchain binaries.
37+
* pr:16785[], pr:16786[], pr:16787[] simplify the parser code somewhat.
38+
* pr:16742[] add parent-child relationship between ``SourceRoot``s.
39+
* pr:16703[] add more methods for resolving AST definitions to their corresponding HIR types.
40+
* pr:16763[] add `index` and `parent_fn` accessors to `hir::Param`.
41+
* pr:16772[] add `tracing` spans to `salsa` databases.
42+
* pr:16708[], pr:16751[] move assist, diagnostics docs and lint definition generation into `xtask codegen`.
43+
* pr:16747[] various clean-ups.
44+
* pr:16758[] bump dependencies.

0 commit comments

Comments
 (0)