Skip to content

Commit e0df625

Browse files
committed
WIP: Changelog 182 (review fixes)
1 parent 71ccd55 commit e0df625

File tree

1 file changed

+30
-27
lines changed

1 file changed

+30
-27
lines changed

_posts/2022-11-07-changelog-182.markdown

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,36 @@ date: 2022-11-07 13:00:00 +0300
77

88
## New Features
99

10-
* [#9650] Increase the minimal supported version of Rust to 1.56
10+
* [#8755] Support `let_chains` (by [@Kobzol])
11+
12+
* [#9105] Allow to run a specific [documentation test](https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html) [all the ways](https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-testing.html) you can run a usual test (by [@Kobzol])
13+
TODO: gif
14+
15+
* [#9349] Decorate MSVC type names when rendering values in the debugger on Windows. Now the Rust type names containing MSVC-specific wrappers are rendered properly, e.g. `tuple$<Foo, ref$<Bar>>` is replaced by `(Foo, &Bar)`.
16+
This feature can be disabled via the `Decorate MSVC type names` checkbox in the `File | Settings | Build, Execution, Deployment | Debugger | Data Views | Rust` settings
17+
TODO: image
18+
19+
* [#7134] Add a quick-fix to generate missing trait member definitions in trait implementations (by [@Sejsel])
20+
TODO: gif
1121

1222
* Procedural macro support improvements:
13-
* [#9628] Enable the expansion of [function-like procedural macros] in the [nightly builds].
14-
This feature can be controlled via `org.rust.macros.proc.function-like` option in `Experimental Features` dialog.
23+
* [#9615] Split `org.rust.macros.proc` experimental feature into sub-features:
24+
- `org.rust.macros.proc.function-like` enables [function-like] procedural macros expansion
25+
- `org.rust.macros.proc.derive` enables [derive] procedural macro expansion
26+
- `org.rust.macros.proc.attr` enables [attribute] procedural macro expansion
27+
- `org.rust.macros.proc` enables all the above
28+
Note, since the procedural macro support is still experimental, these features are disabled by default. You can turn them on via `Help | Find Action | Experimental Features` dialog
29+
30+
* [#9628] Enable the expansion of [function-like] procedural macros in the [nightly builds].
1531
For more information, check the [implementation PR](https://github.com/intellij-rust/intellij-rust/pull/6564) and the corresponding [tracking issue](https://github.com/intellij-rust/intellij-rust/issues/6908).
1632

17-
* [#9526] Insert brackets of the proper form (`()`, `[]` or `{}`) when completing procedural macro calls
18-
1933
* [#9614] Fix the expansion of [attribute] and [derive] procedural macros inside functions
2034

2135
* [#9559] Fix duplicate completion for already imported [attribute] procedural macros
2236

23-
* [#9105] Allow to run a specific [documentation test](https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html) [all the ways](https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-testing.html) you can run a usual test (by [@Kobzol])
24-
TODO: gif
25-
26-
* [#9349] Decorate MSVC type names when rendering values in the debugger on Windows. Now the Rust type names containing MSVC-specific wrappers are rendered properly, e.g. `tuple$<Foo, ref$<Bar>>` is replaced by `(Foo, &Bar)`.
27-
This feature can be disabled via the `Decorate MSVC type names` checkbox in the `File | Settings | Build, Execution, Deployment | Debugger | Data Views | Rust` settings
28-
TODO: image
29-
30-
* [#7134] Add a quick-fix to generate missing trait member definitions in trait implementations (by [@Sejsel])
31-
TODO: gif
37+
* [#9526] Insert brackets of the proper form (`()`, `[]` or `{}`, depending on the macro's documentation) when completing procedural macro calls
3238

33-
* [#8755] Add basic parsing support for `let_chains` (by [@Kobzol])
39+
* [#9650] Increase the minimal supported version of Rust to 1.56
3440

3541
* [#8916] Fix emulating terminal in output console in some cases
3642

@@ -46,28 +52,25 @@ TODO: gif
4652

4753
* [#9586] Infer const arguments in struct literal paths
4854

49-
* [#9620] Normalize associated type in `impl` item trait ref
55+
* [#9620] Normalize associated type in `impl` item trait reference
5056

5157
* [#9631] Fix type inference in the case of normalizable associated type projections like `<A as B>::C`
5258

53-
* [#9637] Do not cancel the [build script] evaluation when the native helper binary was not found
59+
* [#9637] Fix [build script] evaluation failure when the native helper binary was not found
5460

5561
* [#9627] Do not show line markers for tests in dependence crates
5662

5763
* [#9562] Fix `Create module file` quick-fix in 2022.3 EAPs
5864

59-
* [#9556] Temporary disable `Insert imports on paste` feature because it may be slow when copying large code fragments
65+
* [#9556] Temporary disable `Insert imports on paste` feature because it may be slow when copying large code fragments.
66+
The corresponding option is located in `Preferences | Editor | General | Auto Import | Rust` settings
6067

61-
* [#9550] Do not resolve and complete macros after `::`
68+
* [#9550] Do not resolve and complete macros after `::` when Rust edition 2018 or later is used
6269

6370
* [#9469] Fix randomly appearing false-positive `Variable is never used` annotation when the variable is only used in a macro call
6471

6572
* [#9170] Fix completion for raw identifiers inside `use` declarations (by [@Stzx])
6673

67-
## Internal Improvements
68-
69-
* [#9615] MACRO: split `org.rust.macros.proc` experimental feature into 3 features
70-
7174
Full set of changes can be found [here](https://github.com/intellij-rust/intellij-rust/milestone/91?closed=1)
7275

7376
[@Kobzol]: https://github.com/Kobzol
@@ -100,8 +103,8 @@ Full set of changes can be found [here](https://github.com/intellij-rust/intelli
100103
[#9639]: https://github.com/intellij-rust/intellij-rust/pull/9639
101104
[#9650]: https://github.com/intellij-rust/intellij-rust/pull/9650
102105

103-
[build script]: https://doc.rust-lang.org/cargo/reference/build-scripts.html
104-
[function-like procedural macros]: https://doc.rust-lang.org/reference/procedural-macros.html#function-like-procedural-macros
105-
[nightly plugin builds]: https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-quick-start.html#install-nightly
106-
[attribute]: https://doc.rust-lang.org/reference/procedural-macros.html#attribute-macros
106+
[function-like]: https://doc.rust-lang.org/reference/procedural-macros.html#function-like-procedural-macros
107107
[derive]: https://doc.rust-lang.org/reference/procedural-macros.html#derive-macros
108+
[attribute]: https://doc.rust-lang.org/reference/procedural-macros.html#attribute-macros
109+
[nightly builds]: https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-quick-start.html#install-nightly
110+
[build script]: https://doc.rust-lang.org/cargo/reference/build-scripts.html

0 commit comments

Comments
 (0)