Skip to content

Changelog 200 #188

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
Aug 7, 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
96 changes: 96 additions & 0 deletions _posts/2023-08-07-changelog-200.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
---
layout: post
title: "IntelliJ Rust Changelog #200"
date: 2023-08-07 13:00:00 +0300
---


## New Features

* Add [Code Vision hints](https://www.jetbrains.com/help/rider/Code_Vision.html)

* [#10763] Usages hints for some top-level items

* [#10756] VCS hints

<img src="/assets/posts/changelog-200/code_vision.png" width="350px"/>

* [#10744] Improve completion of `if` and `match` keywords

{% include gif-img.html path="/assets/posts/changelog-200/match" w="350px" %}

* [#10718] Show the macro expansion in quick documentation on hover

* [#10729] Add the quick fix for printing a struct that doesn't implement `Debug` or `Display` traits

* [#9424] The intention to convert a `match` expression to a series of `if let` expressions is now offered in more situations (by [@Kobzol])

* [#10716] Respect `CARGO_HOME` env variable when looking for Rust toolchain

* [#10739] Support `Unused must_use` inspection for `impl Trait`

* [#10714] Support [`c_str_literal` feature](https://rust-lang.github.io/rfcs/3348-c-str-literal.html)

* [#10726] Add inspection to replace `therad_rng().gen()` with `random()` from [`rand`](https://docs.rs/rand/latest/rand/) crate

## Fixes

* [#10760] Adjust IntelliSense file size limit for Rust files. This fixes the expansion of macros from [`swc`](https://github.com/swc-project/swc)

* [#10755] Implement `impl`s search for an alias of an alias and for an alias usage

* [#10749] Fix expansion of macro in pattern binding position

* [#10748] Fix type inference for macro expanded to closure

* [#10721] Consider trait bounds when performing dereference

* [#10720] Fix resolve of an associated type pointed to an enum variant

* [#10719] Fix Cargo tool window initialization on 2023.3

* [#10706] Fix handling of stdlib dependencies on 1.72.0-beta

* [#10702] Don't show integer literal suffix completion if the literal already contains a suffix

* [#10685] Support multiple `build.target` values in `.cargo/config.toml` (by [@mryall-mawson])

* [#10762] Remove `unused_qualifications` lint from `unused` group, change level to `WEAK WARNING`

## Internal Improvements

* [#9958] Add support for showing implementations (inheritors) Code Vision. Note, these hints are available starting with 2022.3 and are currently disabled by default. You can turn it on via `Registry... | org.rust.code.vision.implementation` (by [@Kobzol])

* [#10708] Make 2023.2 the default platform for development

* [#10705] Merge `toml` module source into the main module

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

[@Kobzol]: https://github.com/Kobzol
[@mryall-mawson]: https://github.com/mryall-mawson

[#9424]: https://github.com/intellij-rust/intellij-rust/pull/9424
[#9958]: https://github.com/intellij-rust/intellij-rust/pull/9958
[#10685]: https://github.com/intellij-rust/intellij-rust/pull/10685
[#10702]: https://github.com/intellij-rust/intellij-rust/pull/10702
[#10705]: https://github.com/intellij-rust/intellij-rust/pull/10705
[#10706]: https://github.com/intellij-rust/intellij-rust/pull/10706
[#10708]: https://github.com/intellij-rust/intellij-rust/pull/10708
[#10714]: https://github.com/intellij-rust/intellij-rust/pull/10714
[#10716]: https://github.com/intellij-rust/intellij-rust/pull/10716
[#10718]: https://github.com/intellij-rust/intellij-rust/pull/10718
[#10719]: https://github.com/intellij-rust/intellij-rust/pull/10719
[#10720]: https://github.com/intellij-rust/intellij-rust/pull/10720
[#10721]: https://github.com/intellij-rust/intellij-rust/pull/10721
[#10726]: https://github.com/intellij-rust/intellij-rust/pull/10726
[#10729]: https://github.com/intellij-rust/intellij-rust/pull/10729
[#10739]: https://github.com/intellij-rust/intellij-rust/pull/10739
[#10744]: https://github.com/intellij-rust/intellij-rust/pull/10744
[#10748]: https://github.com/intellij-rust/intellij-rust/pull/10748
[#10749]: https://github.com/intellij-rust/intellij-rust/pull/10749
[#10755]: https://github.com/intellij-rust/intellij-rust/pull/10755
[#10756]: https://github.com/intellij-rust/intellij-rust/pull/10756
[#10760]: https://github.com/intellij-rust/intellij-rust/pull/10760
[#10762]: https://github.com/intellij-rust/intellij-rust/pull/10762
[#10763]: https://github.com/intellij-rust/intellij-rust/pull/10763
Binary file added assets/posts/changelog-200/code_vision.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-200/match.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-200/match.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.