Skip to content

Commit c9b24ed

Browse files
committed
Changelog #207
1 parent 2f7c4b1 commit c9b24ed

File tree

5 files changed

+40
-5
lines changed

5 files changed

+40
-5
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"asciidoc.antora.enableAntoraSupport": false
3+
}

generated_config.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,11 +493,16 @@ Group inserted imports by the https://rust-analyzer.github.io/manual.html#auto-i
493493
--
494494
Whether to allow import insertion to merge new imports into single path glob imports like `use std::fmt::*;`.
495495
--
496-
[[rust-analyzer.imports.prefer.no.std]]rust-analyzer.imports.prefer.no.std (default: `false`)::
496+
[[rust-analyzer.imports.preferNoStd]]rust-analyzer.imports.preferNoStd (default: `false`)::
497497
+
498498
--
499499
Prefer to unconditionally use imports of the core and alloc crate, over the std crate.
500500
--
501+
[[rust-analyzer.imports.preferPrelude]]rust-analyzer.imports.preferPrelude (default: `false`)::
502+
+
503+
--
504+
Whether to prefer import paths containing a `prelude` module.
505+
--
501506
[[rust-analyzer.imports.prefix]]rust-analyzer.imports.prefix (default: `"plain"`)::
502507
+
503508
--

generated_features.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@ Displays the ItemTree of the currently open file, for debugging.
176176
=== Expand Macro Recursively
177177
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/expand_macro.rs#L15[expand_macro.rs]
178178

179-
Shows the full macro expansion of the macro at current cursor.
179+
Shows the full macro expansion of the macro at the current caret position.
180180

181181
|===
182182
| Editor | Action Name
183183

184-
| VS Code | **rust-analyzer: Expand macro recursively**
184+
| VS Code | **rust-analyzer: Expand macro recursively at caret**
185185
|===
186186

187187
image::https://user-images.githubusercontent.com/48062697/113020648-b3973180-917a-11eb-84a9-ecb921293dc5.gif[]

manual.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ Or it is possible to specify vars more granularly:
946946
"rust-analyzer.runnables.extraEnv": [
947947
{
948948
// "mask": null, // null mask means that this rule will be applied for all runnables
949-
env: {
949+
"env": {
950950
"APP_ID": "1",
951951
"APP_DATA": "asdf"
952952
}
@@ -968,7 +968,7 @@ If needed, you can set different values for different platforms:
968968
"rust-analyzer.runnables.extraEnv": [
969969
{
970970
"platform": "win32", // windows only
971-
env: {
971+
"env": {
972972
"APP_DATA": "windows specific data"
973973
}
974974
},
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
= Changelog #207
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:416e9c856a792ce2214c449677ca0a1f38965248[] +
7+
Release: release:2023-11-13[] (`v0.3.1730`)
8+
9+
== New Features
10+
11+
* pr:15847[] preview struct fields on hover:
12+
+
13+
image::https://user-images.githubusercontent.com/14040068/281386921-95894c4b-de6e-4ca4-98b3-6ab4559d0950.gif["Screen recording showing that hover tooltips on structs now include a list the fields"]
14+
* pr:15871[] add config for preferring / ignoring prelude modules when inserting imports.
15+
16+
== Fixes
17+
18+
* pr:15860[] truncate closure capture place for raw pointer.
19+
* pr:15864[] be more lax when finding `Self` references.
20+
* pr:15854[] ignore `#[doc(hidden)]` when implementing missing members.
21+
* pr:15866[] improve check when overriding expansion limit for `include!`.
22+
23+
== Internal Improvements
24+
25+
* pr:15881[] (first contribution) fix JSON syntax in VS Code settings samples.
26+
* pr:15849[] update rustc dependencies.
27+
* pr:15880[] include TOML files in the vfs.

0 commit comments

Comments
 (0)