diff --git a/generated_config.adoc b/generated_config.adoc index 50e3670a..ed7df3ea 100644 --- a/generated_config.adoc +++ b/generated_config.adoc @@ -699,7 +699,10 @@ Additional arguments to `rustfmt`. + -- Advanced option, fully override the command rust-analyzer uses for -formatting. +formatting. This should be the equivalent of `rustfmt` here, and +not that of `cargo fmt`. The file contents will be passed on the +standard input and the formatted result will be read from the +standard output. -- [[rust-analyzer.rustfmt.rangeFormatting.enable]]rust-analyzer.rustfmt.rangeFormatting.enable (default: `false`):: + diff --git a/generated_features.adoc b/generated_features.adoc index 4806c0a4..632a9b49 100644 --- a/generated_features.adoc +++ b/generated_features.adoc @@ -543,6 +543,21 @@ image::https://user-images.githubusercontent.com/48062697/113166163-69758500-923 image::https://user-images.githubusercontent.com/48062697/113171066-105c2000-923f-11eb-87ab-f4a263346567.gif[] +=== Open Docs +**Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/doc_links.rs#L110[doc_links.rs] + +Retrieve a link to documentation for the given symbol. + +The simplest way to use this feature is via the context menu. Right-click on +the selected item. The context menu opens. Select **Open Docs**. + +|=== +| Editor | Action Name + +| VS Code | **rust-analyzer: Open Docs** +|=== + + === Parent Module **Source:** https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/parent_module.rs#L14[parent_module.rs] @@ -562,14 +577,13 @@ image::https://user-images.githubusercontent.com/48062697/113065580-04c21800-91b Provides a sneak peek of all tests where the current item is used. -The simplest way to use this feature is via the context menu: - - Right-click on the selected item. The context menu opens. - - Select **Peek related tests** +The simplest way to use this feature is via the context menu. Right-click on +the selected item. The context menu opens. Select **Peek Related Tests**. |=== | Editor | Action Name -| VS Code | **rust-analyzer: Peek related tests** +| VS Code | **rust-analyzer: Peek Related Tests** |=== diff --git a/thisweek/_posts/2023-02-20-changelog-169.adoc b/thisweek/_posts/2023-02-20-changelog-169.adoc index 9300bbc5..41eafa00 100644 --- a/thisweek/_posts/2023-02-20-changelog-169.adoc +++ b/thisweek/_posts/2023-02-20-changelog-169.adoc @@ -4,7 +4,7 @@ :page-layout: post Commit: commit:a6603fc21d50b3386a488c96225b2d1fd492e533[] + -Release: release:2023-02-20[] (`v0.3.1410`) +Release: release:2023-02-20[] (`v0.3.1418`) == New Features diff --git a/thisweek/_posts/2023-02-27-changelog-170.adoc b/thisweek/_posts/2023-02-27-changelog-170.adoc new file mode 100644 index 00000000..16ead55b --- /dev/null +++ b/thisweek/_posts/2023-02-27-changelog-170.adoc @@ -0,0 +1,22 @@ += Changelog #170 +:sectanchors: +:experimental: +:page-layout: post + +Commit: commit:4e29820f6d9880606a403e7bec6e91312e7f0575[] + +Release: release:2023-02-27[] (`TBD`) + +== New Features + +* pr:14175[] (first contribution) add "Open Docs" command to the context menu: ++ +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"] +* pr:14207[] (first contribution) respect `CARGO_HOME` in toolchain detection + +== Fixes + +* pr:14203[] (first contribution) add check for extra path segments after a fully qualified one. + +== Internal Improvements + +* pr:14183[] try to improve the `rustfmt.overrideCommand` docs.