Changelog #28

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

内容简介:Jun 8, 2020Commit:Release:

Jun 8, 2020

Commit: d696776

Release: 2020-06-08

New Features

  • #4711 don’t pass --all-features by default, use Cargo’s default features instead.

  • #4720 highlight unsafe operations inside unsafe blocks. In VS Code, you can use editor.semanticTokenColorCustomizations to customize the actual coloring

    "editor.semanticTokenColorCustomizations": {
        "[Theme Name]": {
            "rules": {
                "operator.unsafe": "#f00",
                "function.unsafe": "#f00"
            },
        }
    }
    Changelog #28
  • #4382 allow specifying key-value cfg options in JsonProject.

  • #4726 allow to override build-in project discovery with explicit list of `Cargo.toml`s to import:

    { "rust-analyzer.linkedProjects": ["/home/projects/rust-analyzer/Cargo.toml"] }
  • #4730 document rust-project.json file format, which can be used with non-Cargo based build systems. Docs: #non-cargo-based-projects .

  • #4660 enable hover and autocomplete docs on macro generated items.

  • #4748 implement hover actions, as an alternative UI for code lenses.

    Changelog #28
  • #4689 implement return position impl trait.

Fixes

  • #4750 fix Introduce Named Lifetime assist to work in more cases.

    Changelog #28
  • #4580 invoke correct cargo for run action in VS Code.

  • #4658 fix lexing of format strings.

  • #4721 use correct modifier for unused code.

  • #4502 mark fixes from diagnostics as quick fixes.

  • #4737 parse default unsafe & default const.

  • #4765 fix type parameter defaults.

Internal Improvements

  • #4761 use Chalk from crates.io.

  • #4748 build specialized index to improve auto-import performance.

  • #4717 compute assists text edits lazily.

  • #4703 document review process and contribution guidelines.

  • #4772 document certain high-level internal architecture invariants.

  • #4688 document initilizationOptions used by rust-analyzer.

  • #4710 make LSP extension for running tests & binaries less rust-specific.

  • #4723 derive local roots from workspace configuration.

  • #4724 rename WorldState → GlobalState.

  • #4758 actually test include!(concant!(env!())) pattern.

  • #4760 preliminary refactorings in preparation for new VFS.


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

查看所有标签

猜你喜欢:

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

编写高质量代码:改善Python程序的91个建议

编写高质量代码:改善Python程序的91个建议

张颖、赖勇浩 / 机械工业出版社 / 2014-6 / 59.00元

在通往“Python技术殿堂”的路上,本书将为你编写健壮、优雅、高质量的Python代码提供切实帮助!内容全部由Python编码的最佳实践组成,从基本原则、惯用法、语法、库、设计模式、内部机制、开发工具和性能优化8个方面深入探讨了编写高质量Python代码的技巧与禁忌,一共总结出91条宝贵的建议。每条建议对应Python程序员可能会遇到的一个问题。本书不仅以建议的方式从正反两方面给出了被实践证明为......一起来看看 《编写高质量代码:改善Python程序的91个建议》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具