Skip to content

Commit b10c785

Browse files
committed
Changelog #181
1 parent 8e2dabc commit b10c785

File tree

3 files changed

+50
-1
lines changed

3 files changed

+50
-1
lines changed

generated_config.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,11 @@ Whether to show inlay hints after a closing `}` to indicate what item it belongs
479479
Minimum number of lines required before the `}` until the hint is shown (set to 0 or 1
480480
to always show them).
481481
--
482+
[[rust-analyzer.inlayHints.closureCaptureHints.enable]]rust-analyzer.inlayHints.closureCaptureHints.enable (default: `false`)::
483+
+
484+
--
485+
Whether to show inlay hints for closure captures.
486+
--
482487
[[rust-analyzer.inlayHints.closureReturnTypeHints.enable]]rust-analyzer.inlayHints.closureReturnTypeHints.enable (default: `"never"`)::
483488
+
484489
--
@@ -748,6 +753,11 @@ Inject additional highlighting into doc comments.
748753
When enabled, rust-analyzer will highlight rust source in doc comments as well as intra
749754
doc links.
750755
--
756+
[[rust-analyzer.semanticHighlighting.nonStandardTokens]]rust-analyzer.semanticHighlighting.nonStandardTokens (default: `true`)::
757+
+
758+
--
759+
Whether the server is allowed to emit non-standard tokens and modifiers.
760+
--
751761
[[rust-analyzer.semanticHighlighting.operator.enable]]rust-analyzer.semanticHighlighting.operator.enable (default: `true`)::
752762
+
753763
--

generated_features.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ image::https://user-images.githubusercontent.com/48062697/113020658-b5f98b80-917
341341

342342

343343
=== Inlay Hints
344-
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/inlay_hints.rs#L379[inlay_hints.rs]
344+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/inlay_hints.rs#L384[inlay_hints.rs]
345345

346346
rust-analyzer shows additional information inline with the source code.
347347
Editors usually render this using read-only virtual text snippets interspersed with code.
@@ -734,6 +734,7 @@ documentation:: Emitted for documentation comments.
734734
injected:: Emitted for doc-string injected highlighting like rust source blocks in documentation.
735735
intraDocLink:: Emitted for intra doc links in doc-strings.
736736
library:: Emitted for items that are defined outside of the current crate.
737+
macro:: Emitted for tokens inside macro calls.
737738
mutable:: Emitted for mutable locals and statics as well as functions taking `&mut self`.
738739
public:: Emitted for items that are from the current crate and are `pub`.
739740
reference:: Emitted for locals behind a reference and functions taking `self` by reference.
@@ -756,6 +757,7 @@ Shows a view tree with all the dependencies of this project
756757

757758
| VS Code | **Rust Dependencies**
758759
|===
760+
759761
image::https://user-images.githubusercontent.com/5748995/229394139-2625beab-f4c9-484b-84ed-ad5dee0b1e1a.png[]
760762

761763

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
= Changelog #181
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:e5c722820ac6f348c6c674ef3391d7156f1cd1c9[] +
7+
Release: release:2023-05-15[] (`v0.3.1514`)
8+
9+
== A Note on Today's Release
10+
11+
Because of an infrastructure issue, today's release is not available on the VS Code Marketplace and OpenVSX.
12+
The VSIX can still be downloaded manually from GitHub Releases, and Code should be able to update it automatically in the future.
13+
14+
We hope we can get everything sorted out by next Monday.
15+
16+
== New Features
17+
18+
* pr:14742[] add closure capture inlay hints, disabled by default:
19+
+
20+
image::https://user-images.githubusercontent.com/3757771/236447484-649a4ea6-ad61-496e-bad8-765a5236150e.png["A screenshow showing capture hints, like move(&mut count) || { count += 1; }"]
21+
* pr:14777[] add `rust-analyzer.semanticHighlighting.nonStandardTokens` setting to control the usage of non-standard tokens and modifiers.
22+
23+
== Fixes
24+
25+
* pr:14781[], pr:14800[] introduce macro sub-namespaces and `macro_use` prelude.
26+
* pr:14727[] evaluate consts lazily in `path_to_const`.
27+
* pr:14795[] add `macro` modifier for highlighting tokens in macro calls.
28+
* pr:14797[] fix perf regression from symbol index refactor.
29+
* pr:14801[] fix `process_changes` duplicating change events.
30+
* pr:14788[] fix derived `Debug` implementation for unsized structs.
31+
32+
== Internal Improvements
33+
34+
* pr:14799[] (first contribution) remove root component from patched Windows UNC path prefix.
35+
* pr:14735[] drop canonicalization of paths and normalize all `rust-project.json` paths.
36+
* pr:14808[] add metrics for unevaluated constants, failed MIR bodies and failed data layouts.
37+
* pr:14747[] add more APIs to `la_arena::IdxRange`.

0 commit comments

Comments
 (0)