内容简介:Full set of changes can be found
New Features
- Support 2020.2 EAPs
- Enable new macro expansion engine in nightly builds
-
Provide initial version of
Inline method
( Ctrl+Alt+N ) refactoring. Note, actual arguments are not inlined properly so far (by @SaarYogev & @sohich )
-
Add completion of existing file paths inside path-like string literals in function arguments (by @Kobzol )
-
Provide quick-fix to attach a file to module tree for
File is not included in module tree
inspection (by @Kobzol )
-
Add
.some
,.ok
,.err
postfix templates forResult
andOption
wrapping (by @panstromek )
-
Show E0601 error if the
main
function doesn’t exist in binary crates and provide quick-fix to add the function (by @Stzx )
-
Handle doc comments when uncommenting ( Ctrl+/ ). Commenter can be configured using code style settings located in
Preferences | Editor | Code Style | Rust
(by @Kobzol )
- Place the caret near a type when navigating to an
impl
item
- Add
--ignored
to command line when launching tests marked with#[ignore]
. Now Cargo actually run them (by @Kobzol )
- Sort packages and targets alphabetically in Cargo tool window (by @Kobzol )
Performance Improvements
- Significantly speed up macro expansion phase for new macro expansion engine
- Fix UI freezes caused by chain method hints
Fixes
-
Add unsafe to function
quick-fix now works inside loops and conditions (by @Kobzol )
- Fix parsing
crate
at the beginning of macro call as visibility modifier
- Fix false-positive
Argument never used
annotation when using raw format strings in macro calls (by @Kobzol )
- Fix run icon displaying when
main
function is declared in a nested method (by @Stzx )
- Fix exception in
RsFileTypeOverriderForMacroExpansionFileSystem
Internal Improvements
- Check indices are not accessed during document committing
- Add more consistency checks in new macro expansion engine
Full set of changes can be found here
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
The Linux Programming Interface
Michael Kerrisk / No Starch Press / 2010-11-6 / GBP 79.99
The Linux Programming Interface describes the Linux API (application programming interface)-the system calls, library functions, and other low-level interfaces that are used, directly or indirectly, b......一起来看看 《The Linux Programming Interface》 这本书的介绍吧!