Skip to content

Commit 8e1bb66

Browse files
committed
Changelog #92
1 parent c9a8f04 commit 8e1bb66

File tree

3 files changed

+66
-3
lines changed

3 files changed

+66
-3
lines changed

generated_config.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,11 @@ Join lines removes trailing commas.
318318
--
319319
Join lines unwraps trivial blocks.
320320
--
321+
[[rust-analyzer.joinLines.joinAssignments]]rust-analyzer.joinLines.joinAssignments (default: `true`)::
322+
+
323+
--
324+
Join lines merges consecutive declaration and initialization of an assignment.
325+
--
321326
[[rust-analyzer.lens.debug]]rust-analyzer.lens.debug (default: `true`)::
322327
+
323328
--

generated_features.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Displays the ItemTree of the currently open file, for debugging.
8686
// IMPORTANT: master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository
8787

8888
== Expand Macro Recursively
89-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/expand_macro.rs#L14[expand_macro.rs]
89+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/expand_macro.rs#L15[expand_macro.rs]
9090

9191
Shows the full macro expansion of the macro at current cursor.
9292

@@ -244,7 +244,7 @@ image::https://user-images.githubusercontent.com/48062697/113020657-b560f500-917
244244
// IMPORTANT: master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository
245245

246246
== Highlight Related
247-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/highlight_related.rs#L29[highlight_related.rs]
247+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/highlight_related.rs#L31[highlight_related.rs]
248248

249249
Highlights constructs related to the thing under the cursor:
250250
- if on an identifier, highlights all references to that identifier in the current file
@@ -296,7 +296,7 @@ image::https://user-images.githubusercontent.com/48062697/113020660-b5f98b80-917
296296
// IMPORTANT: master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository
297297

298298
== Join Lines
299-
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/join_lines.rs#L20[join_lines.rs]
299+
**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide/src/join_lines.rs#L21[join_lines.rs]
300300

301301
Join selected lines into one, smartly fixing up whitespace, trailing commas, and braces.
302302

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
= Changelog #92
2+
:sectanchors:
3+
:page-layout: post
4+
5+
Commit: commit:d15f646ff17e2da0d4e8dc2754ba83213cf1a8bb[] +
6+
Release: release:2021-08-30[]
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:10008[] highlight declarations and references for both definitions in field shorthands:
16+
+
17+
image::https://user-images.githubusercontent.com/308347/131287051-f42dce5e-2892-44fe-ba9e-04347f2c5d66.png[]
18+
* pr:9994[] make `Generate function` work for static methods:
19+
+
20+
image::https://user-images.githubusercontent.com/62165556/130415812-57192e15-eab9-4596-92ec-b102c3b3bcd2.gif[]
21+
* pr:9993[] merge assignments in `Join lines`:
22+
+
23+
image::https://user-images.githubusercontent.com/16212576/130366571-3ebb1753-f8d5-4884-be8f-222cda71a2a7.gif[]
24+
* pr:10014[] expand derive macros under cursor in `Expand Macro Recursively`:
25+
+
26+
image::https://user-images.githubusercontent.com/3757771/130638252-5125d41f-2cc0-48fa-af77-9a7f85016438.png[]
27+
+
28+
image::https://user-images.githubusercontent.com/3757771/130638250-debe0a1a-2584-426a-8377-72d6d46276eb.png[]
29+
* pr:9970[] implement attribute input token mapping and fix attribute item token mapping:
30+
+
31+
image::https://user-images.githubusercontent.com/3757771/130328577-4c1ad72c-51b1-47c3-8d3d-3242ec44a355.png[]
32+
* pr:10067[] downmap tokens to all token descendants instead of just the first:
33+
+
34+
image::https://user-images.githubusercontent.com/3757771/131233056-7e645b1d-b82f-468c-bf19-d3335a2cf7c2.png[]
35+
* pr:10059[] enable diagnostics in `const` and `static` items.
36+
37+
38+
== Fixes
39+
40+
* pr:10004[] update `rowan` to fix a memory leak.
41+
* pr:10032[] fix false positive `missing unsafe` diagnostic on nightly toolchains.
42+
* pr:10057[] remove incorrect assertion in `Extract function`.
43+
* pr:10001[] fix sorting of enum variants.
44+
* pr:10024[] fix reporting of build script errors.
45+
* pr:10029[], pr:10030[] improve `Expand Macro Recursively`.
46+
* pr:10055[] don't use fake text range in original node search as is in completions.
47+
48+
49+
== Internal Improvements
50+
51+
* pr:10053[] (first contribution) remove workaround for old Node versions.
52+
* pr:10062[] (first contribution) set `esbuild` target to Node 14.
53+
* pr:9944[] introduce in-place indenting API.
54+
* pr:9999[] use single env var to controll all benchmarks.
55+
* pr:10010[] use idiomatic form of assertions.
56+
* pr:10025[] don't mutate syntax trees when preparing proc-macro input.
57+
* pr:10069[] use `ManuallyDrop` in `RootDatabase` to improve build times.
58+
* pr:10066[], pr:10071[], pr:10074[] slightly improve compile times.

0 commit comments

Comments
 (0)