Skip to content

Commit 977093d

Browse files
committed
Changelog #94
1 parent ebdb7ac commit 977093d

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

manual.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,15 @@ See https://github.com/rust-analyzer/rust-project.json-example for a small examp
662662

663663
You can set `RA_LOG` environmental variable to `rust_analyzer=info` to inspect how rust-analyzer handles config and project loading.
664664

665+
Note that calls to `cargo check` are disabled when using `rust-project.json` by default, so compilation errors and warnings will no longer be sent to your LSP client. To enable these compilation errors you will need to specify explicitly what command rust-analyzer should run to perform the checks using the `checkOnSave.overrideCommand` configuration. As an example, the following configuration explicitly sets `cargo check` as the `checkOnSave` command.
666+
667+
[source,json]
668+
----
669+
{ "rust-analyzer.checkOnSave.overrideCommand": ["cargo", "check", "--message-format=json"] }
670+
----
671+
672+
The `checkOnSave.overrideCommand` requires the command specified to output json error messages for rust-analyzer to consume. The `--message-format=json` flag does this for `cargo check` so whichever command you use must also output errors in this format. See the <<Configuration>> section for more information.
673+
665674
== Security
666675

667676
At the moment, rust-analyzer assumes that all code is trusted.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
= Changelog #94
2+
:sectanchors:
3+
:page-layout: post
4+
5+
Commit: commit:516eb40ba5b9d20e59e98185d1b2fcba5599ef7a[] +
6+
Release: release:2021-09-13[]
7+
8+
== Sponsors
9+
10+
**Become a sponsor:** On https://opencollective.com/rust-analyzer/[OpenCollective] or
11+
https://github.com/sponsors/rust-analyzer[GitHub Sponsors].
12+
13+
== New Features
14+
15+
* pr:10152[] (first contribution) quote raw identifier in completion:
16+
+
17+
image::https://user-images.githubusercontent.com/894305/132110362-c21b713d-acaf-4a6d-9749-ff812172cbce.gif[]
18+
* pr:10162[] enable completions after `.` in some macros:
19+
+
20+
image::https://user-images.githubusercontent.com/308347/133029878-127e4022-999b-4a53-829a-16ad0e0723c0.gif[]
21+
+
22+
image::https://user-images.githubusercontent.com/308347/133030167-edc88366-ac46-491d-811e-d1cf533ba9f4.gif[]
23+
24+
== Fixes
25+
26+
* pr:10093[] (first contribution) fix `cargo` task filtering in Code workspaces.
27+
* pr:10154[] (first contribution) complete ``#![recursion_limit = "N"]`` instead of ``#![recursion_limit = N]``.
28+
* pr:10157[] (first contribution) document enabling `flycheck` with `rust-project.json`.
29+
* pr:10188[] (first contribution) add multi-token mapping support to runnables.
30+
* pr:10180[] fix resolution of inherent array methods.
31+
* pr:10177[] treat path dependencies like workspace members.
32+
* pr:10193[] fix type mismatches with `panic!()` on Rust 1.55.
33+
* pr:10174[] fix path display with `crate` and `super` prefixes.
34+
* pr:10186[] configure `colorizedBracketPairs` for Code.
35+
* pr:10202[] show correct `Sized` bounds on type param hover.
36+
* pr:10212[] avoid a type inference panic on `BitSlice` methods.
37+
* pr:10215[] use correct file for `decl_access` computation in `find_all_refs`.
38+
39+
== Internal Improvements
40+
41+
* pr:10165[] (first contribution) bump `tracing-tree` to avoid a `syn` dependency.
42+
* pr:10206[] remove unused dependencies.
43+
* pr:10168[] make name consistent with usage.
44+
* pr:10169[] parser cleanup.

0 commit comments

Comments
 (0)