File tree Expand file tree Collapse file tree 4 files changed +45
-6
lines changed Expand file tree Collapse file tree 4 files changed +45
-6
lines changed Original file line number Diff line number Diff line change @@ -699,7 +699,10 @@ Additional arguments to `rustfmt`.
699699+
700700--
701701Advanced 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+
Original file line number Diff line number Diff line change @@ -543,6 +543,21 @@ image::https://user-images.githubusercontent.com/48062697/113166163-69758500-923
543543image::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
563578Provides 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
Original file line number Diff line number Diff line change 44:page-layout: post
55
66Commit: 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 number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments