Skip to content

Commit 21c1eb2

Browse files
committed
Changelog #170
1 parent 9bd12d4 commit 21c1eb2

File tree

4 files changed

+45
-6
lines changed

4 files changed

+45
-6
lines changed

generated_config.adoc

+4-1
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,10 @@ Additional arguments to `rustfmt`.
699699
+
700700
--
701701
Advanced option, fully override the command rust-analyzer uses for
702-
formatting.
702+
formatting. This should be the equivalent of `rustfmt` here, and
703+
not that of `cargo fmt`. The file contents will be passed on the
704+
standard input and the formatted result will be read from the
705+
standard output.
703706
--
704707
[[rust-analyzer.rustfmt.rangeFormatting.enable]]rust-analyzer.rustfmt.rangeFormatting.enable (default: `false`)::
705708
+

generated_features.adoc

+18-4
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,21 @@ image::https://user-images.githubusercontent.com/48062697/113166163-69758500-923
543543
image::https://user-images.githubusercontent.com/48062697/113171066-105c2000-923f-11eb-87ab-f4a263346567.gif[]
544544

545545

546+
=== Open Docs
547+
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/doc_links.rs#L110[doc_links.rs]
548+
549+
Retrieve a link to documentation for the given symbol.
550+
551+
The simplest way to use this feature is via the context menu. Right-click on
552+
the selected item. The context menu opens. Select **Open Docs**.
553+
554+
|===
555+
| Editor | Action Name
556+
557+
| VS Code | **rust-analyzer: Open Docs**
558+
|===
559+
560+
546561
=== Parent Module
547562
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/parent_module.rs#L14[parent_module.rs]
548563

@@ -562,14 +577,13 @@ image::https://user-images.githubusercontent.com/48062697/113065580-04c21800-91b
562577

563578
Provides a sneak peek of all tests where the current item is used.
564579

565-
The simplest way to use this feature is via the context menu:
566-
- Right-click on the selected item. The context menu opens.
567-
- Select **Peek related tests**
580+
The simplest way to use this feature is via the context menu. Right-click on
581+
the selected item. The context menu opens. Select **Peek Related Tests**.
568582

569583
|===
570584
| Editor | Action Name
571585

572-
| VS Code | **rust-analyzer: Peek related tests**
586+
| VS Code | **rust-analyzer: Peek Related Tests**
573587
|===
574588

575589

thisweek/_posts/2023-02-20-changelog-169.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:page-layout: post
55

66
Commit: commit:a6603fc21d50b3386a488c96225b2d1fd492e533[] +
7-
Release: release:2023-02-20[] (`v0.3.1410`)
7+
Release: release:2023-02-20[] (`v0.3.1418`)
88

99
== New Features
1010

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
= Changelog #170
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:4e29820f6d9880606a403e7bec6e91312e7f0575[] +
7+
Release: release:2023-02-27[] (`TBD`)
8+
9+
== New Features
10+
11+
* pr:14175[] (first contribution) add "Open Docs" command to the context menu:
12+
+
13+
image::https://user-images.githubusercontent.com/6609145/219976062-b46ab21b-5753-48f5-a1da-562566cae71c.gif["Screen recording showing the Open Docs in the context menu and how it opens docs.rs"]
14+
* pr:14207[] (first contribution) respect `CARGO_HOME` in toolchain detection
15+
16+
== Fixes
17+
18+
* pr:14203[] (first contribution) add check for extra path segments after a fully qualified one.
19+
20+
== Internal Improvements
21+
22+
* pr:14183[] try to improve the `rustfmt.overrideCommand` docs.

0 commit comments

Comments
 (0)