Skip to content

Commit 83b3f2f

Browse files
committed
Changelog #52
1 parent 93fedab commit 83b3f2f

File tree

3 files changed

+70
-1
lines changed

3 files changed

+70
-1
lines changed

generated_assists.adoc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,30 @@ impl<T: Clone> Ctx<T> {
564564
```
565565

566566

567+
[discrete]
568+
=== `ignore_test`
569+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/ignore_test.rs#L5[ignore_test.rs]
570+
571+
Adds `#[ignore]` attribute to the test.
572+
573+
.Before
574+
```rust
575+
┃#[test]
576+
fn arithmetics {
577+
assert_eq!(2 + 2, 5);
578+
}
579+
```
580+
581+
.After
582+
```rust
583+
#[test]
584+
#[ignore]
585+
fn arithmetics {
586+
assert_eq!(2 + 2, 5);
587+
}
588+
```
589+
590+
567591
[discrete]
568592
=== `infer_function_return_type`
569593
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/assists/src/handlers/infer_function_return_type.rs#L7[infer_function_return_type.rs]

generated_features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ Navigates to the parent module of the current module.
319319

320320

321321
=== Run
322-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L81[runnables.rs]
322+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L82[runnables.rs]
323323

324324
Shows a popup suggesting to run a test/benchmark/binary **at the current cursor
325325
location**. Super useful for repeatedly running just a single test. Do bind this
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
= Changelog #52
2+
:sectanchors:
3+
:page-layout: post
4+
5+
Commit: commit:cadf0e9fb630d04367ef2611383865963d84ab54[] +
6+
Release: release:2020-11-23[]
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:6553[] auto imports in completion:
16+
+
17+
image::https://user-images.githubusercontent.com/2690773/99155339-ae4fb380-26bf-11eb-805a-655b1706ce70.gif[]
18+
19+
* pr:6585[] link error explanations via clickable codes in diagnostics:
20+
+
21+
image::https://user-images.githubusercontent.com/3757771/99459468-6d110b00-292e-11eb-9cde-d43ec9cebc09.png[]
22+
23+
* pr:6573[] **Ignore Test** assist:
24+
+
25+
image::https://user-images.githubusercontent.com/1711539/99943965-6a6d4600-2d72-11eb-9833-5d89c42fade1.gif[]
26+
* pr:6582[] fill the diagnostic code field in publish_diagnostics.
27+
28+
== Fixes
29+
30+
* pr:6552[] properly handle shorthands in destructure patterns when renaming:
31+
+
32+
image::https://user-images.githubusercontent.com/1711539/99943469-a5bb4500-2d71-11eb-89dd-ff76a00ee6f0.gif[]
33+
* pr:6574[] **Unwrap Block** supports stand-alone blocks:
34+
+
35+
image::https://user-images.githubusercontent.com/1711539/99945932-ceddd480-2d75-11eb-8e39-f5bae09ff8e4.gif[]
36+
37+
* pr:6558[] format string highlighting: handle hex + debug type.
38+
* pr:6563[] don't complete keywords in struct initializers.
39+
* pr:6598[] ensure word boundary after `true` in TextMate grammar.
40+
41+
== Internal Improvements
42+
43+
* pr:6566[] update LSP to 3.16.
44+
* pr:6581[] update vscode-languageclient.
45+
* pr:6578[] simplify project_model.

0 commit comments

Comments
 (0)