diff --git a/generated_config.adoc b/generated_config.adoc index 9a00a0eb..c7bb1bf6 100644 --- a/generated_config.adoc +++ b/generated_config.adoc @@ -308,6 +308,11 @@ site. -- Whether to show inlay type hints for variables. -- +[[rust-analyzer.inlayHints.hideNamedConstructorHints]]rust-analyzer.inlayHints.hideNamedConstructorHints (default: `false`):: ++ +-- +Whether to hide inlay hints for constructors. +-- [[rust-analyzer.joinLines.joinElseIf]]rust-analyzer.joinLines.joinElseIf (default: `true`):: + -- diff --git a/generated_features.adoc b/generated_features.adoc index 21d9107f..665b85f4 100644 --- a/generated_features.adoc +++ b/generated_features.adoc @@ -333,7 +333,7 @@ image::https://user-images.githubusercontent.com/48062697/113020658-b5f98b80-917 === Inlay Hints -**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/inlay_hints.rs#L36[inlay_hints.rs] +**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/inlay_hints.rs#L37[inlay_hints.rs] rust-analyzer shows additional information inline with the source code. Editors usually render this using read-only virtual text snippets interspersed with code. @@ -547,7 +547,7 @@ image::https://user-images.githubusercontent.com/48062697/113065580-04c21800-91b === Related Tests -**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L196[runnables.rs] +**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L189[runnables.rs] Provides a sneak peek of all tests where the current item is used. diff --git a/manual.adoc b/manual.adoc index ef2e9ce7..1db6cb5c 100644 --- a/manual.adoc +++ b/manual.adoc @@ -200,7 +200,8 @@ $ pacman -S rust-analyzer `rust-analyzer` is available in the GURU repository: -- https://gitweb.gentoo.org/repo/proj/guru.git/tree/dev-util/rust-analyzer-bin/rust-analyzer-bin-9999.ebuild[`dev-util/rust-analyzer-bin-9999`] (the https://github.com/rust-analyzer/rust-analyzer/releases/latest[latest release] as a live binary ebuild) +- https://gitweb.gentoo.org/repo/proj/guru.git/tree/dev-util/rust-analyzer?id=9895cea62602cfe599bd48e0fb02127411ca6e81[`dev-util/rust-analyzer`] builds from source +- https://gitweb.gentoo.org/repo/proj/guru.git/tree/dev-util/rust-analyzer-bin?id=9895cea62602cfe599bd48e0fb02127411ca6e81[`dev-util/rust-analyzer-bin`] installs an official binary release If not already, GURU must be enabled (e.g. using `app-eselect/eselect-repository`) and sync'd before running `emerge`: diff --git a/thisweek/_posts/2021-11-15-changelog-103.adoc b/thisweek/_posts/2021-11-15-changelog-103.adoc new file mode 100644 index 00000000..30878e7b --- /dev/null +++ b/thisweek/_posts/2021-11-15-changelog-103.adoc @@ -0,0 +1,34 @@ += Changelog #103 +:sectanchors: +:page-layout: post + +Commit: commit:73668334f05c3446b04116ccc3156240d2d8ab19[] + +Release: release:2021-11-15[] + +== Sponsors + +**Become a sponsor:** On https://opencollective.com/rust-analyzer/[OpenCollective] or +https://github.com/sponsors/rust-analyzer[GitHub Sponsors]. + +== New Features + +* pr:10761[] show constructor inlay hints by default, add option to disable. +* pr:10743[] index fewer crates on startup/reload. + +== Fixes + +* pr:10731[] (first contribution) show the right check command in Code. +* pr:10756[] (first contribution) allow the check command to terminate with no output. +* pr:10729[] lookup impls in local def maps. +* pr:10722[] fix proc-macro attributes being shadowed by their functions in IDE layer. +* pr:10689[] handle pub tuple fields in tuple structs. +* pr:10720[] don't ascribe types in pattern completion for param patterns twice. +* pr:10747[] remove faulty logic for ascending test attributes for runnables. +* pr:10762[] trigger flyimport on enum variants. +* pr:10759[] make `add_missing_match_arms` applicable at the end of the match. + +== Internal Improvements + +* pr:10688[] type-check TS on CI. +* pr:10738[] do not search through all three namespaces in `ItemScope::name_of`. +* pr:10741[], pr:10745[] flatten `Definition::ModuleDef` variant.