Skip to content

Changelog #75 #108

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
May 3, 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
2 changes: 1 addition & 1 deletion generated_features.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Shows all references of the item at the cursor location
image::https://user-images.githubusercontent.com/48062697/113020670-b7c34f00-917a-11eb-8003-370ac5f2b3cb.gif[]


=== Format String Completion.
=== Format String Completion
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_completion/src/completions/postfix/format_like.rs#L0[format_like.rs]

`"Result {result} is {2 + 2}"` is expanded to the `"Result {} is {}", result, 2 + 2`.
Expand Down
41 changes: 41 additions & 0 deletions thisweek/_posts/2021-05-03-changelog-75.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
= Changelog #75
:sectanchors:
:page-layout: post

Commit: commit:eb741e895f1a73420a401f2495c711afe37d9d19[] +
Release: release:2021-05-03[]

== Sponsors

**Become a sponsor:** On https://opencollective.com/rust-analyzer/[OpenCollective] or
https://github.com/sponsors/rust-analyzer[GitHub Sponsors].

== New Features

* pr:8629[] (first contribution) allow pressing `|` to surround closure arguments in VS Code:
+
image::https://user-images.githubusercontent.com/10530973/115778847-3c257e00-a385-11eb-8c80-e0db970747db.gif[]
* pr:8617[] (first contribution) add option to opt out of smaller font size for inlay hints in VS Code.
* pr:8660[] (first contribution) add `mutable` semantic token modifier for `&mut self` methods.
* pr:8624[] automatically detect rust library source file map.
* pr:8685[] parse const param defaults.

== Fixes

* pr:8693[] (first contribution) ensure that only one cache priming task can run at a time.
* pr:8666[] report correct version string on Windows and Mac.
* pr:8670[] make error message in the status bar more useful.
* pr:8677[] return `ServerNotInitialized` according to the spec.
* pr:8679[] don't show error message for a valid notification.
* pr:8684[] correctly parse negated literals as const args.
* pr:8687[] improve unification of non-capturing closures.
* pr:8692[] fix panic caused by new `Try` trait definition on nightly toolchains.
* pr:8698[] search only crate-level prelude when looking for an item.
* pr:8708[] don't duplicate `Progerss::Finised` for cache priming.

== Internal Improvements

* pr:8661[] make normal release after a poin release less annoying.
* pr:8668[] use more cross-platform utc `date` argument.
* pr:8683[] ensure that client and server-side configs are not mixed up.
* pr:8695[] fix naming polarity.