Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 26b552c

Browse files
committedNov 21, 2022
Changelog 183
1 parent e9fd58d commit 26b552c

9 files changed

+31
-21
lines changed
 

‎_posts/2022-11-21-changelog-183.markdown

Lines changed: 31 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,55 +7,65 @@ date: 2022-11-21 13:00:00 +0300
77

88
## New Features
99

10-
* [#9699] Support [quick-fixes preview](https://blog.jetbrains.com/idea/2022/09/intellij-idea-2022-3-eap/#Intention_action_preview_enabled_by_default) in 2022.3
10+
* [#9641], [#9699] Support [Intention and quick-fixes preview](https://blog.jetbrains.com/idea/2022/09/intellij-idea-2022-3-eap/#Intention_action_preview_enabled_by_default) in 2022.3.
11+
Note, not all intentions and quick-fixes have a preview at this moment. See the corresponding [issue](https://github.com/intellij-rust/intellij-rust/issues/9561) for more details
1112

12-
* [#9694] Enable [derive](https://doc.rust-lang.org/reference/procedural-macros.html#derive-macros) procedural macro expansion in [nightly plugin builds](https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-quick-start.html#install-nightly)
13+
{% include gif-img.html path="/assets/posts/changelog-183/intention_preview" w="700px" %}
1314

14-
* [#9649] Enable native Rust support in [MSVC LLDB](https://blog.jetbrains.com/clion/2019/06/clion-2019-2-eap-msvc-debugger-unused-includes-check-and-more/#msvc_debug) in 2022.3 IDE builds on Windows. Currently, the most visible improvement of the native support is the proper displaying of Rust primitive type names, such as `u64` instead of `unsigned long long`
1515

16-
* [#9641] Support [Intention preview](https://blog.jetbrains.com/idea/2022/09/intellij-idea-2022-3-eap/#Intention_action_preview_enabled_by_default) in 2022.3
16+
* [#7353] Support completion and navigation for [intra-doc links](https://doc.rust-lang.org/rustdoc/write-documentation/linking-to-items-by-name.html).
17+
Please note that currently the plugin supports links in format `[text](link)`, but not `[link]`
1718

18-
* [#9350] Support renaming derive procedural macros
19+
{% include gif-img.html path="/assets/posts/changelog-183/intra-docs_links" w="700px" %}
1920

20-
* [#8958] Provide support for proper build script evaluation and procedural macro expansion on Windows and Linux with arm64 CPU
21+
* [#9649] Enable native Rust support in [MSVC LLDB](https://blog.jetbrains.com/clion/2019/06/clion-2019-2-eap-msvc-debugger-unused-includes-check-and-more/#msvc_debug) in 2022.3 IDE builds on Windows.
22+
Currently, the most visible improvement of the native support is the proper displaying of Rust primitive type names, such as `u64` instead of `unsigned long long`
2123

22-
* [#7353] Support [intra-doc links](https://doc.rust-lang.org/rustdoc/write-documentation/linking-to-items-by-name.html). Please note that currently we support links in format `[text](link)`, but not `[link]`
24+
| Before | After |
25+
|-|-|
26+
| ![image](/assets/posts/changelog-183/msvc_lldb_before.png) | ![image](/assets/posts/changelog-183/msvc_lldb_after.png) |
2327

24-
## Performance Improvements
28+
* [#8958] Provide support for proper build script evaluation and procedural macro expansion on Windows with arm64 CPU
2529

26-
* [#9658] FIX: Show completion autopopup when typing in a recursive macro call. PERF: Don't enter Dumb Mode when typing in a recursive macros
30+
* [#9350] Support [renaming](https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-refactorings.html#rename-refactoring) (`Refactor | Rename` or <kbd>Shift</kbd>+<kbd>F6</kbd>) derive procedural macros
31+
32+
* [#9694] Enable [derive](https://doc.rust-lang.org/reference/procedural-macros.html#derive-macros) procedural macro expansion in [nightly plugin builds](https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-quick-start.html#install-nightly).
33+
To turn it off, disable `org.rust.macros.proc.derive` [experimental feature](https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-faq.html#experimental-features)
2734

2835
## Fixes
2936

30-
* [#9714] fix type inference of const arguments in a path qualifier type arguments
37+
* [#9698] `Specify type explicitly` intention now uses fully qualified name when the same name is already in scope
38+
39+
{% include gif-img.html path="/assets/posts/changelog-183/specify_type_explicitly" w="700px" %}
3140

32-
* [#9708] Fix completion in a function-like macro call body
41+
* Completion improvements
42+
* [#9658] Show completion autopopup when typing in a recursive macro call
3343

34-
* [#9698] Use qualified type if the name is already imported in `Specify type explicitly` intention
44+
* [#9714] Fix type inference of const arguments in a path qualifier type arguments
45+
46+
* [#9708] Fix completion in a function-like macro call body
3547

3648
* [#9695] Properly load stdlib metadata with [custom build target](https://docs.rust-embedded.org/embedonomicon/custom-target.html)
3749

3850
* [#9689] Fallback to hardcoded stdlib structure if fetching of stdlib structure failed for some reason
3951

40-
* [#9658] FIX: Show completion autopopup when typing in a recursive macro call. PERF: Don't enter Dumb Mode when typing in a recursive macros
41-
4252
* [#9633] Fix `clippy` if the run configuration doesn't contain `Build Before Launch` task
4353

44-
* [#9602] Don't allow to use Run targets alongside with WSL toolchain
54+
* [#9602] Show error about incompatibility between Run targets and WSL toolchains in Run/Debug configuration editor
4555

46-
* [#9585] Fix `Add unambiguous imports on the fly` for 2022.3
56+
* [#9585] Fix `Add unambiguous imports on the fly` option for 2022.3
4757

48-
* [#9525] Substitute `Self` in [`Inline function`](https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-refactorings.html#extractmethod-refactoring) refactoring
58+
* [#9525] Substitute `Self` in [`Inline function`](https://plugins.jetbrains.com/plugin/8182-rust/docs/rust-refactorings.html#extractmethod-refactoring) refactoring (`Refactor | Inline...` or <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>N</kbd>)
4959

50-
* [#9515] "Add missing fields" quickfix: add trailing comma if needed (by [@t-kameyama])
60+
* [#9470] Improve completion when the caret is placed in the middle of an identifier
5161

52-
* [#9470] improve completion when the caret is placed in the middle of an identifier
62+
* [#9515] Add trailing comma if needed by `Add missing fields` quick fix (by [@t-kameyama])
5363

54-
* [#9377] fix docs.rs documentation hyperlinks for proc macros (by [@afetisov])
64+
* [#9377] Fix `docs.rs` documentation hyperlinks for procedural macros (by [@afetisov])
5565

5666
## Internal Improvements
5767

58-
* [#9667] await finish of macro expansion task when running inspection from [command line](https://www.jetbrains.com/help/idea/command-line-code-inspector.html) or via [Qodana](https://www.jetbrains.com/qodana/)
68+
* [#9667] Await finish of macro expansion task when running inspection from [command line](https://www.jetbrains.com/help/idea/command-line-code-inspector.html) or via [Qodana](https://www.jetbrains.com/qodana/)
5969

6070
Full set of changes can be found [here](https://github.com/intellij-rust/intellij-rust/milestone/92?closed=1)
6171

Loading
Loading
Loading
Loading
85.1 KB
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.