Skip to content

Changelog #103 #159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions generated_config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`)::
+
--
Expand Down
4 changes: 2 additions & 2 deletions generated_features.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.

Expand Down
3 changes: 2 additions & 1 deletion manual.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

Expand Down
34 changes: 34 additions & 0 deletions thisweek/_posts/2021-11-15-changelog-103.adoc
Original file line number Diff line number Diff line change
@@ -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.