Changelog #24

栏目: IT技术 · 发布时间: 4年前

内容简介:Commit:Release:

Commit: eb892d7

Release: 2020-05-11

New Features

  • #4043 Change Return Type to Result assist

    Changelog #24
  • #4320 Run action and code lens now supports doc tests on functions

    Changelog #24
  • #4411 Unwrap Block now works for single else:

    Changelog #24
  • #4166 rust-analyzer.cargo.target setting for specifying target tripple rust-analyzer uses for analysis.

  • #4328 rust-analyzer.checkOnSave.allFeatures setting (all by default) to run cargo check with all features enabled.

  • #4372 'rust-analyzer.inlayHints.enable' settings for conveniently disabling all inlay hints.

  • #4265 Change Visibility assist now works for tuple struct fields.

    Changelog #24
  • #4316 always display full types on hover.

  • #4333 add installation instructions for Arch Linux (rust-analyzer is now packaged!).

  • #4296 fetch cfg`s from `build.rs .

  • #4329 in addition to PATH , look for cargo and rustc in ~/.cargo/bin .

  • #4414 highlight static mut as mutable, highlight name of the macro defined with macro_rules .

Fixes

  • #4419 fix panic in AstIdMap due to files with \r\n .

  • #4295 specify all rust-analyzer specific tokens and modifiers in package.json. You can use these custom types to tweak syntax highlighting for Rust.

  • #4305 correctly handle namespaces for structs in name resolution.

  • #4325 fix conversion to UTF-16 indexing for supplementary plane characters.

  • #4347 fix pattern exhaustiveness checks for ! type.

  • #4353 , #4365 work around VS Code TextMate scope bugs, kudos to @georgewfraser for tracking those down!

  • #4359 , #4409 fix panic in function signature.

  • #4346 fix visibility checks in rename for enum variants.

  • #4362 do not show runnables for main function outside of a binary target.

  • #4376 , #4412 , #4377 , #4379 various type inference fixes.

Internal Improvements

  • #4300 , #4303 cleanup attribute completion, making sure that each "completion contributor" is independent from the others.

  • #4321 rename ast::ImplItem → ast::AssocItem .

  • #4350 implement new API for assists infrastructure.

  • #4339 assert correct capitalization of labels in edits.

  • #4340 , #4344 use the single SourceChange to describe all edits.

  • #4341 make it possible to sort assist by relevance without computing the action.

  • #4331 helpfully detect errors when parsing rust-analyzer fixtures.

  • #4366 unify lldb and native windows debugger handling.

  • #4175 , #4389 introduce `HirDisplay`ko method for rendering source code & use it in Add Function and Specify Type Explicitly assists

  • #4418 refactor conversion between LSP and rust-analyzer native types.


以上所述就是小编给大家介绍的《Changelog #24》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

人工智能

人工智能

Stuart J. Russell、Peter Norvig / 清华大学出版社 / 2011-7 / 158.00元

《人工智能:一种现代的方法(第3版)(影印版)》最权威、最经典的人工智能教材,已被全世界100多个国家的1200多所大学用作教材。《人工智能:一种现代的方法(第3版)(影印版)》的最新版全面而系统地介绍了人工智能的理论和实践,阐述了人工智能领域的核心内容,并深入介绍了各个主要的研究方向。全书仍分为八大部分:第一部分“人工智能”,第二部分“问题求解”,第三部分“知识与推理”,第四部分“规划”,第五部......一起来看看 《人工智能》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

URL 编码/解码
URL 编码/解码

URL 编码/解码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具