Skip to content

Changelog 186 #172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions _posts/2023-01-16-changelog-186.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
layout: post
title: "IntelliJ Rust Changelog #186"
date: 2023-01-16 13:00:00 +0300
---


This is the last release that supports the 2022.2 IDEs. To receive plugin updates further, please upgrade your IDE to 2022.3.

## New Features

* [#9747] Support `Create field` quick-fix for struct literals with `Self`

{% include gif-img.html path="/assets/posts/changelog-186/create-field" w="700px" %}

* [#9794] Remove unused imports inside functions by `Optimize import` action
(only if [Unused import](https://github.com/intellij-rust/intellij-rust/issues/2158) inspection is enabled)

{% include gif-img.html path="/assets/posts/changelog-186/unused-imports-in-function" w="700px" %}

* [#9441] Fully qualify paths from the local crate that cannot be imported after paste.
Note, the corresponding feature is disabled by default.
You can turn it on via `Rust | Insert imports on paste` option in `Preferences | Editor | General | Auto Import` panel (by [@Kobzol])

{% include gif-img.html path="/assets/posts/changelog-186/import-on-paste" w="700px" %}

* [#9883], [#9899] Annotate [exclusive range patterns](https://github.com/rust-lang/rust/issues/37854) as experimental

## Fixes

* [#9928] Improve error messages for already defined names:
- Produce proper [E0403](https://doc.rust-lang.org/error_codes/E0403.html) error for const generic parameters with duplicate names
- Use the same error messages as the Rust compiler

## Internal Improvements

* [#9926] Provide initial implementation to show code authors hints.
The feature is disabled by default for now (by [@Kobzol])

* [#9931] Use Kotlin 1.8 for plugin compilation

* [#9879] Refactor name resolution processors

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

[@Kobzol]: https://github.com/Kobzol

[#9441]: https://github.com/intellij-rust/intellij-rust/pull/9441
[#9747]: https://github.com/intellij-rust/intellij-rust/pull/9747
[#9794]: https://github.com/intellij-rust/intellij-rust/pull/9794
[#9879]: https://github.com/intellij-rust/intellij-rust/pull/9879
[#9883]: https://github.com/intellij-rust/intellij-rust/pull/9883
[#9899]: https://github.com/intellij-rust/intellij-rust/pull/9899
[#9926]: https://github.com/intellij-rust/intellij-rust/pull/9926
[#9928]: https://github.com/intellij-rust/intellij-rust/pull/9928
[#9931]: https://github.com/intellij-rust/intellij-rust/pull/9931
Binary file added assets/posts/changelog-186/create-field.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/posts/changelog-186/create-field.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/posts/changelog-186/import-on-paste.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/posts/changelog-186/import-on-paste.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.