Rust Analyzer Changelog: New Features and Internal Improvements
The latest release of Rust Analyzer (v0.3.1615) brings several new features and internal improvements. One notable addition is the 'Remove unused imports' assist, which helps developers clean up their code by automatically removing unused imports. The release also includes fixes for various issues, such as expanding eager macros to delimited comma-separated expression lists, removing faulty unwraps in eager macro expansion, and stripping unused token ids from eager macro input token maps.
In terms of internal improvements, the release introduces the desugaring of 'while' loops into 'loop' and 'break' constructs, improving the performance of the MIR interpreter by implementing caching mechanisms, and deferring structured snippet rendering to allow for escaping snippet bits.
These updates aim to enhance the developer experience and productivity when working with Rust Analyzer. Developers can now benefit from the new features and improvements to write cleaner and more efficient Rust code.