RustRover 2024.1.7
Released: Aug 7, 2024
Mises à jour de 2024.1.7
Fonctionnalités
- Added a new Inspection: Unneeded return.
- Added an option to not format items with #[rustfmt::skip] attribute.
- Improved formatting of empty lines between comments and attributes.
- Comments can now be indented same as } before else block.
- Improved block comments after field declarations.
- Added support for proc macro expander version 5.
- Added completion for [lints.rust] and [lints.clippy].
- RustRover can now highlight Cargo.toml files with syntax errors in a project view.
- Now shows error that #[proc_macro] attribute is only usable with crates of the proc-macro crate type.
- Added QF for adding proc_macro and others attribute in proc macro crate.
- Enabled intention actions in function-like macro calls.
- Added Inlay Hints in async method chains.
Correctifs
- QF to suggest to use ?.
- Completion should suggest ? operator when context is appropriate.
- Incorrect formatting of macro calls.
- Indent comment in attributes.
- Formatter inserts unneeded spaces in macros.
- Formatting of .. & ..= may produce invalid code.
- Reformat file w\ 'Do not keep line breaks' Moves code to comment line.
- Rustfmt + optimize import: The words in import use warp::{Filter, hyper::Client}; is swapping while formatting.
- Built-in formatter move the ; at the next line if there is warning Unnecessary trailing semicolon.
- There is no indentation for array in case of definition [i32; n].
- Do not add semicolon to return/add/continue in if expressions in particular cases.
- Make formatting of macro_rules with ( more permissive.
- Do not format doctests.
- Do not change syntax of macro bodies when formatting.
- Indent lambda expression body.
- Allow 0 spaces indent for block doc comments.
- Allow 1 empty line between value parameters when formatting.
- Allow 1 empty line between field patterns when formatting.
- Do not add commas in macros when formatting.
- Highlight files with syntax errors in the project view.
- Variables are marked as "unused" if used inside a column! macro call.
- Proc macros are not expanded from optional dependencies in a workspace.
- Variables in macros are not renamed when they are in a placeholder.
- TOML: no completion for already used keys.
- Inspection highlighting .unwarp() calls if ? is applicable.
- Unsupport E0551: change code to E0539.
- Cannot create extension RustProjectTechnologiesChatContextProvider.
- Apply fix button is hidden if output has too long line.
- Toolchain chooser in settings is broken for Rust plugin.