Skip to content

Commit 425e731

Browse files
committed
Changelog #86
1 parent 1a28473 commit 425e731

File tree

5 files changed

+55
-9
lines changed

5 files changed

+55
-9
lines changed

generated_assists.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ fn main() {
14241424

14251425
[discrete]
14261426
=== `remove_dbg`
1427-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_assists/src/handlers/remove_dbg.rs#L8[remove_dbg.rs]
1427+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_assists/src/handlers/remove_dbg.rs#L9[remove_dbg.rs]
14281428

14291429
Removes `dbg!()` macro call.
14301430

generated_features.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ image::https://user-images.githubusercontent.com/48062697/113020670-b7c34f00-917
157157
// IMPORTANT: master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository
158158

159159
== Folding
160-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/folding_ranges.rs#L31[folding_ranges.rs]
160+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/folding_ranges.rs#L36[folding_ranges.rs]
161161

162-
Defines folding regions for curly braced blocks, runs of consecutive import
163-
statements, and `region` / `endregion` comment markers.
162+
Defines folding regions for curly braced blocks, runs of consecutive use, mod, const or static
163+
items, and `region` / `endregion` comment markers.
164164

165165

166166
// IMPORTANT: master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository
@@ -228,7 +228,7 @@ image::https://user-images.githubusercontent.com/48062697/113065566-02f85480-91b
228228
// IMPORTANT: master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository
229229

230230
== Go to Type Definition
231-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/goto_type_definition.rs#L8[goto_type_definition.rs]
231+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/goto_type_definition.rs#L6[goto_type_definition.rs]
232232

233233
Navigates to the type of an identifier.
234234

@@ -489,7 +489,7 @@ image::https://user-images.githubusercontent.com/48062697/113065580-04c21800-91b
489489
// IMPORTANT: master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository
490490

491491
== Related Tests
492-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L189[runnables.rs]
492+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L196[runnables.rs]
493493

494494
Provides a sneak peek of all tests where the current item is used.
495495

@@ -523,7 +523,7 @@ image::https://user-images.githubusercontent.com/48062697/113065582-055aae80-91b
523523
// IMPORTANT: master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository
524524

525525
== Run
526-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L108[runnables.rs]
526+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L111[runnables.rs]
527527

528528
Shows a popup suggesting to run a test/benchmark/binary **at the current cursor
529529
location**. Super useful for repeatedly running just a single test. Do bind this

manual.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ let g:ale_linters = {'rust': ['analyzer']}
313313

314314
=== nvim-lsp
315315

316-
NeoVim 0.5 (not yet released) has built-in language server support.
316+
NeoVim 0.5 has built-in language server support.
317317
For a quick start configuration of rust-analyzer, use https://github.com/neovim/nvim-lspconfig#rust_analyzer[neovim/nvim-lspconfig].
318318
Once `neovim/nvim-lspconfig` is installed, use `+lua require'lspconfig'.rust_analyzer.setup({})+` in your `init.vim`.
319319

thisweek/_posts/2021-07-12-changelog-85.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ image::https://user-images.githubusercontent.com/62165556/124471923-bffedc00-ddb
2020
* pr:9568[] add `for` postfix completion:
2121
+
2222
image::https://user-images.githubusercontent.com/62165556/125194692-a0aaf780-e267-11eb-952a-81de7955d9a1.gif[]
23-
* pr:9498[] remove "Replace `unwrap` with `match`" assist in favor of "Inline call":
23+
* pr:9498[] remove "Replace `unwrap` with ``match``" assist in favor of "Inline call":
2424
+
2525
image::https://user-images.githubusercontent.com/3757771/124482574-b58c1480-dda9-11eb-940d-bc6a2fe4050b.gif[]
2626
* pr:9503[] make "Join lines" behavior configurable:
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
= Changelog #86
2+
:sectanchors:
3+
:page-layout: post
4+
5+
Commit: commit:ea105f9396a9dab68e71efb06016b7c76c83ba7c[] +
6+
Release: release:2021-07-19[]
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:9550[] (first contribution) add multiple proc macro ABI support.
16+
* pr:9595[] show test mod runnable in outline modules:
17+
+
18+
image::https://user-images.githubusercontent.com/3757771/125494747-169c9238-3faa-4eed-9700-90bd730b4e3c.png[]
19+
* pr:9596[] include type arguments in "Go to type definition" result:
20+
+
21+
image::https://user-images.githubusercontent.com/308347/126110831-5a16d375-b7fa-4556-a4f2-eb739b641f60.gif[]
22+
* pr:9594[] add `mutable` semantic token modifier to assignment operators.
23+
* pr:9622[] improve parser error recovery for function parameters.
24+
* pr:9619[] parse GATs in associated type arguments.
25+
* pr:9585[] rename the old server binary before update.
26+
27+
== Fixes
28+
29+
* pr:9599[] (first contribution) complete `true` and `false` keywords.
30+
* pr:9600[] (first contribution) fix "Unwrap block" assist on single-line and nested blocks.
31+
* pr:9621[] (first contribution) update manual after NeoVim 0.5 release.
32+
* pr:9579[] set more ``CARGO_`` env vars.
33+
* pr:9604[] don't fold consecutive modules with item lists.
34+
35+
== Internal Improvements
36+
37+
* pr:9535[] remove proc macro management thread.
38+
* pr:9582[] remove erroneous default impl.
39+
* pr:9583[] get rid of a call to slow O(N) `visibility_of` function.
40+
* pr:9592[] split main highlighting function.
41+
* pr:9597[] use `Type::walk` for goto_type_definition.
42+
* pr:9603[] move attribute completion tests.
43+
* pr:9605[] make folding ranges respect item visibilities.
44+
* pr:9614[] simplify "Remove ``dbg!``" assist.
45+
* pr:9620[] don't depend on the current working directory.
46+
* pr:9623[] make it clearer where IO happens.

0 commit comments

Comments
 (0)