内容简介:Commit:Release:
Commit: eb892d7
Release: 2020-05-11
New Features
-
#4043Change Return Type to Result assist -
#4320Run action and code lens now supports doc tests on functions -
#4411Unwrap Block now works for single else: -
#4166rust-analyzer.cargo.targetsetting for specifying target tripple rust-analyzer uses for analysis. -
#4328rust-analyzer.checkOnSave.allFeaturessetting (all by default) to runcargo checkwith all features enabled. -
#4372'rust-analyzer.inlayHints.enable' settings for conveniently disabling all inlay hints. -
#4265Change Visibility assist now works for tuple struct fields. -
#4316always display full types on hover. -
#4333add installation instructions for Arch Linux (rust-analyzer is now packaged!). -
#4296fetchcfg`s from `build.rs. -
#4329in addition toPATH, look forcargoandrustcin~/.cargo/bin. -
#4414highlightstatic mutas mutable, highlight name of the macro defined withmacro_rules.
Fixes
-
#4419fix panic inAstIdMapdue to files with\r\n. -
#4295specify all rust-analyzer specific tokens and modifiers in package.json. You can use these custom types to tweak syntax highlighting for Rust. -
#4305correctly handle namespaces for structs in name resolution. -
#4325fix conversion to UTF-16 indexing for supplementary plane characters. -
#4347fix pattern exhaustiveness checks for!type. -
#4353,#4365work around VS Code TextMate scope bugs, kudos to @georgewfraser for tracking those down! -
#4346fix visibility checks in rename for enum variants. -
#4362do not show runnables for main function outside of a binary target.
Internal Improvements
-
#4300,#4303cleanup attribute completion, making sure that each "completion contributor" is independent from the others. -
#4321renameast::ImplItem → ast::AssocItem. -
#4350implement new API for assists infrastructure. -
#4339assert correct capitalization of labels in edits. -
#4340,#4344use the singleSourceChangeto describe all edits. -
#4341make it possible to sort assist by relevance without computing the action. -
#4331helpfully detect errors when parsing rust-analyzer fixtures. -
#4366unify lldb and native windows debugger handling. -
#4175,#4389introduce `HirDisplay`ko method for rendering source code & use it in Add Function and Specify Type Explicitly assists -
#4418refactor conversion between LSP and rust-analyzer native types.
以上所述就是小编给大家介绍的《Changelog #24》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Coding the Matrix
Philip N. Klein / Newtonian Press / 2013-7-26 / $35.00
An engaging introduction to vectors and matrices and the algorithms that operate on them, intended for the student who knows how to program. Mathematical concepts and computational problems are motiva......一起来看看 《Coding the Matrix》 这本书的介绍吧!