内容简介:Jun 8, 2020Commit:Release:
Jun 8, 2020
Commit: d696776
Release: 2020-06-08
New Features
-
#4711don’t pass--all-featuresby default, use Cargo’s default features instead. -
#4720highlight unsafe operations inside unsafe blocks. In VS Code, you can useeditor.semanticTokenColorCustomizationsto customize the actual coloring"editor.semanticTokenColorCustomizations": { "[Theme Name]": { "rules": { "operator.unsafe": "#f00", "function.unsafe": "#f00" }, } } -
#4382allow specifying key-value cfg options in JsonProject. -
#4726allow to override build-in project discovery with explicit list of `Cargo.toml`s to import:{ "rust-analyzer.linkedProjects": ["/home/projects/rust-analyzer/Cargo.toml"] } -
#4730documentrust-project.jsonfile format, which can be used with non-Cargo based build systems. Docs: #non-cargo-based-projects . -
#4660enable hover and autocomplete docs on macro generated items. -
#4748implement hover actions, as an alternative UI for code lenses. -
#4689implement return position impl trait.
Fixes
-
#4750fix Introduce Named Lifetime assist to work in more cases. -
#4580invoke correct cargo forrunaction in VS Code. -
#4658fix lexing of format strings. -
#4721use correct modifier for unused code. -
#4502mark fixes from diagnostics as quick fixes. -
#4737parse default unsafe & default const. -
#4765fix type parameter defaults.
Internal Improvements
-
#4761use Chalk from crates.io. -
#4748build specialized index to improve auto-import performance. -
#4717compute assists text edits lazily. -
#4703document review process and contribution guidelines. -
#4772document certain high-level internal architecture invariants. -
#4688document initilizationOptions used by rust-analyzer. -
#4710make LSP extension for running tests & binaries less rust-specific. -
#4723derive local roots from workspace configuration. -
#4724rename WorldState → GlobalState. -
#4758actually testinclude!(concant!(env!()))pattern. -
#4760preliminary refactorings in preparation for new VFS.
以上所述就是小编给大家介绍的《Changelog #28》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Swift语言实战入门
伍星、罗飞、刘志华、王浩力、刘蕾 / 人民邮电出版社 / 2014-10-23 / 79
《Swift语言实战入门》以Swift语言的基础知识和实战技巧为主要内容,佐以大量的实例和图片进行讲解。全书内容分为三大部分,共11章节。第一大部分讲述Swift语言的基础知识和语法,第二大部分讲解开发框架和库的相关内容,第三大部分集中讲解以2048游戏为例的实战演练,从入门到实战层层递进。本书注重实战,秉承着学以致用的原则,让读者真正看后能够实际操作。120个代码清单全部共享,配套教学视频在线收......一起来看看 《Swift语言实战入门》 这本书的介绍吧!