Skip to content

Commit 10fa0d7

Browse files
committed
Changelog #141
1 parent c5e9b32 commit 10fa0d7

3 files changed

Lines changed: 53 additions & 19 deletions

File tree

generated_features.adoc

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Displays the ItemTree of the currently open file, for debugging.
169169
|===
170170
| Editor | Action Name
171171

172-
| VS Code | **Rust Analyzer: Debug ItemTree**
172+
| VS Code | **rust-analyzer: Debug ItemTree**
173173
|===
174174

175175

@@ -181,7 +181,7 @@ Shows the full macro expansion of the macro at current cursor.
181181
|===
182182
| Editor | Action Name
183183

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

187187
image::https://user-images.githubusercontent.com/48062697/113020648-b3973180-917a-11eb-84a9-ecb921293dc5.gif[]
@@ -359,7 +359,7 @@ Optionally, one can enable additional hints for
359359
|===
360360
| Editor | Action Name
361361

362-
| VS Code | **Rust Analyzer: Toggle inlay hints*
362+
| VS Code | **rust-analyzer: Toggle inlay hints*
363363
|===
364364

365365
image::https://user-images.githubusercontent.com/48062697/113020660-b5f98b80-917a-11eb-8d70-3be3fd558cdd.png[]
@@ -377,7 +377,7 @@ for the cases handled specially by joined lines.
377377
|===
378378
| Editor | Action Name
379379

380-
| VS Code | **Rust Analyzer: Join lines**
380+
| VS Code | **rust-analyzer: Join lines**
381381
|===
382382

383383
image::https://user-images.githubusercontent.com/48062697/113020661-b6922200-917a-11eb-87c4-b75acc028f11.gif[]
@@ -448,7 +448,7 @@ braces, so it won't confuse generics with comparisons.
448448
|===
449449
| Editor | Action Name
450450

451-
| VS Code | **Rust Analyzer: Find matching brace**
451+
| VS Code | **rust-analyzer: Find matching brace**
452452
|===
453453

454454
image::https://user-images.githubusercontent.com/48062697/113065573-04298180-91b1-11eb-8dec-d4e2a202f304.gif[]
@@ -462,7 +462,7 @@ Clears rust-analyzer's internal database and prints memory usage statistics.
462462
|===
463463
| Editor | Action Name
464464

465-
| VS Code | **Rust Analyzer: Memory Usage (Clears Database)**
465+
| VS Code | **rust-analyzer: Memory Usage (Clears Database)**
466466
|===
467467
image::https://user-images.githubusercontent.com/48062697/113065592-08559f00-91b1-11eb-8c96-64b88068ec02.gif[]
468468

@@ -475,8 +475,8 @@ Move item under cursor or selection up and down.
475475
|===
476476
| Editor | Action Name
477477

478-
| VS Code | **Rust Analyzer: Move item up**
479-
| VS Code | **Rust Analyzer: Move item down**
478+
| VS Code | **rust-analyzer: Move item up**
479+
| VS Code | **rust-analyzer: Move item down**
480480
|===
481481

482482
image::https://user-images.githubusercontent.com/48062697/113065576-04298180-91b1-11eb-91ce-4505e99ed598.gif[]
@@ -555,7 +555,7 @@ Navigates to the parent module of the current module.
555555
|===
556556
| Editor | Action Name
557557

558-
| VS Code | **Rust Analyzer: Locate parent module**
558+
| VS Code | **rust-analyzer: Locate parent module**
559559
|===
560560

561561
image::https://user-images.githubusercontent.com/48062697/113065580-04c21800-91b1-11eb-9a32-00086161c0bd.gif[]
@@ -573,7 +573,7 @@ The simplest way to use this feature is via the context menu:
573573
|===
574574
| Editor | Action Name
575575

576-
| VS Code | **Rust Analyzer: Peek related tests**
576+
| VS Code | **rust-analyzer: Peek related tests**
577577
|===
578578

579579

@@ -601,7 +601,7 @@ to a shortcut!
601601
|===
602602
| Editor | Action Name
603603

604-
| VS Code | **Rust Analyzer: Run**
604+
| VS Code | **rust-analyzer: Run**
605605
|===
606606
image::https://user-images.githubusercontent.com/48062697/113065583-055aae80-91b1-11eb-958f-d67efcaf6a2f.gif[]
607607

@@ -735,7 +735,7 @@ rust-analyzer itself.
735735
|===
736736
| Editor | Action Name
737737

738-
| VS Code | **Rust Analyzer: Show Syntax Tree**
738+
| VS Code | **rust-analyzer: Show Syntax Tree**
739739
|===
740740
image::https://user-images.githubusercontent.com/48062697/113065586-068bdb80-91b1-11eb-9507-fee67f9f45a0.gif[]
741741

@@ -748,7 +748,7 @@ Randomizes all crate IDs in the crate graph, for debugging.
748748
|===
749749
| Editor | Action Name
750750

751-
| VS Code | **Rust Analyzer: Shuffle Crate Graph**
751+
| VS Code | **rust-analyzer: Shuffle Crate Graph**
752752
|===
753753

754754

@@ -760,7 +760,7 @@ Shows internal statistic about memory usage of rust-analyzer.
760760
|===
761761
| Editor | Action Name
762762

763-
| VS Code | **Rust Analyzer: Status**
763+
| VS Code | **rust-analyzer: Status**
764764
|===
765765
image::https://user-images.githubusercontent.com/48062697/113065584-05f34500-91b1-11eb-98cc-5c196f76be7f.gif[]
766766

@@ -818,7 +818,7 @@ String::from((y + 5).foo(z))
818818
|===
819819
| Editor | Action Name
820820

821-
| VS Code | **Rust Analyzer: Structural Search Replace**
821+
| VS Code | **rust-analyzer: Structural Search Replace**
822822
|===
823823

824824
Also available as an assist, by writing a comment containing the structural
@@ -942,7 +942,7 @@ Only workspace crates are included, no crates.io dependencies or sysroot crates.
942942
|===
943943
| Editor | Action Name
944944

945-
| VS Code | **Rust Analyzer: View Crate Graph**
945+
| VS Code | **rust-analyzer: View Crate Graph**
946946
|===
947947

948948

@@ -952,7 +952,7 @@ Only workspace crates are included, no crates.io dependencies or sysroot crates.
952952
|===
953953
| Editor | Action Name
954954

955-
| VS Code | **Rust Analyzer: View Hir**
955+
| VS Code | **rust-analyzer: View Hir**
956956
|===
957957
image::https://user-images.githubusercontent.com/48062697/113065588-068bdb80-91b1-11eb-9a78-0b4ef1e972fb.gif[]
958958

manual.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ You can follow instructions for installing <<rust-analyzer-language-server-binar
479479
== Troubleshooting
480480

481481
Start with looking at the rust-analyzer version.
482-
Try **Rust Analyzer: Show RA Version** in VS Code (using **Command Palette** feature typically activated by Ctrl+Shift+P) or `rust-analyzer --version` in the command line.
482+
Try **rust-analyzer: Show RA Version** in VS Code (using **Command Palette** feature typically activated by Ctrl+Shift+P) or `rust-analyzer --version` in the command line.
483483
If the date is more than a week ago, it's better to update rust-analyzer version.
484484

485485
The next thing to check would be panic messages in rust-analyzer's log.
@@ -492,7 +492,7 @@ To fully capture LSP messages between the editor and the server, set `"rust-anal
492492
The root cause for many "`nothing works`" problems is that rust-analyzer fails to understand the project structure.
493493
To debug that, first note the `rust-analyzer` section in the status bar.
494494
If it has an error icon and red, that's the problem (hover will have somewhat helpful error message).
495-
**Rust Analyzer: Status** prints dependency information for the current file.
495+
**rust-analyzer: Status** prints dependency information for the current file.
496496
Finally, `RA_LOG=project_model=debug` enables verbose logs during project loading.
497497

498498
If rust-analyzer outright crashes, try running `rust-analyzer analysis-stats /path/to/project/directory/` on the command line.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
= Changelog #141
2+
:sectanchors:
3+
:page-layout: post
4+
5+
Commit: commit:634cfe3d72e785c843ca5d412b12be137b2e14fb[] +
6+
Release: release:2022-08-08[]
7+
8+
== New Features
9+
10+
* pr:12837[] support record and tuple variants in `Generate Enum Variant`:
11+
+
12+
video::https://user-images.githubusercontent.com/5692947/181302996-c2f8143e-dd0e-4df7-83ea-2a694a3cfcb9.mov[options=loop]
13+
* pr:12948[] handle operators like their trait methods in the IDE layer:
14+
+
15+
video::https://user-images.githubusercontent.com/3757771/183076683-c9899bd6-60d3-461b-965f-0c0f9745e2e8.gif[options=loop]
16+
* pr:12920[] publish extension for 32-bit ARM (`arm-linux-gnueabihf`) systems.
17+
* pr:12808[] only flycheck the workspace that contains the saved file.
18+
* pr:12934[] add setting to disable comment continuation in VS Code (`rust-analyzer.typing.continueCommentsOnNewline`).
19+
20+
== Fixes
21+
22+
* pr:12880[] (first contribution) implement syntax fixup for while loops.
23+
* pr:12939[] (first contribution) fix diagnostics location when hovering unresolved types.
24+
* pr:12918[] remove whitespace from doctest names when running them.
25+
* pr:12947[] don't switch workspace on VFS file changes from libraries.
26+
* pr:12949[] fix incorrect token pick rankings.
27+
* pr:12919[] normalize extension spelling to `rust-analyzer`.
28+
29+
== Internal Improvements
30+
31+
* pr:12931[], pr:12956[] add more constructors and entry APIs for `la-arena`.
32+
* pr:12933[] use an empty expander for ignored non-attribute proc-macros.
33+
* pr:12953[] avoid `RUSTUP_TOOLCHAIN` in tests, to work around `rustup` bug.
34+
* pr:12959[] fix `test_rainbow_highlighting` gate.

0 commit comments

Comments
 (0)