File tree 4 files changed +45
-6
lines changed
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`.
699
699
+
700
700
--
701
701
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.
703
706
--
704
707
[[rust-analyzer.rustfmt.rangeFormatting.enable]]rust-analyzer.rustfmt.rangeFormatting.enable (default: `false` )::
705
708
+
Original file line number Diff line number Diff line change @@ -543,6 +543,21 @@ image::https://user-images.githubusercontent.com/48062697/113166163-69758500-923
543
543
image::https://user-images.githubusercontent.com/48062697/113171066-105c2000-923f-11eb-87ab-f4a263346567.gif[]
544
544
545
545
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
+
546
561
=== Parent Module
547
562
**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/parent_module.rs#L14[parent_module.rs]
548
563
@@ -562,14 +577,13 @@ image::https://user-images.githubusercontent.com/48062697/113065580-04c21800-91b
562
577
563
578
Provides a sneak peek of all tests where the current item is used.
564
579
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**.
568
582
569
583
|===
570
584
| Editor | Action Name
571
585
572
- | VS Code | **rust-analyzer: Peek related tests **
586
+ | VS Code | **rust-analyzer: Peek Related Tests **
573
587
|===
574
588
575
589
Original file line number Diff line number Diff line change 4
4
:page-layout: post
5
5
6
6
Commit: commit:a6603fc21d50b3386a488c96225b2d1fd492e533[] +
7
- Release: release:2023-02-20[] (`v0.3.1410 ` )
7
+ Release: release:2023-02-20[] (`v0.3.1418 ` )
8
8
9
9
== New Features
10
10
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