Changelog #55
Commit: dbd0cfb
Release: 2020-12-14
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
-
#6761,#6776editor-independent description of configuration format. All server configs are now documented in the manual: https://rust-analyzer.github.io/manual.html#configuration -
#6769,#6841Remove this semicolon fix:
-
#6731ReplacematchWithif letassist:
-
#6706lazily compute text edits for completion. This significantly speeds up completion in certain cases. -
#6754,#6752,#6807handle cross-compilation and cfg attributes from build scripts. -
#6760Open Cargo.toml now opens Cargo.toml for current package of the workspace.
-
#6771handle inner attributes. -
#6790ask the editor to refresh code lenses when the project structure changes. -
#6795supportkey=valuepairs informat!-like macros. -
#6819support built-in attributes in name resolution. -
#6839type inference for labeled blocks. -
#6840add VS Code level language configuration (indent, matching parenthesis, etc).
Fixes
-
#6805fix accidentally quadratic tree modification code. This speeds up new auto-import completions a lot. See this stream for an interesting discussion about tree editing API. -
#6813fix negative literals handling in declarative macros. -
#6743fix desugaring of doc attributes. -
#6751fix name resolution for builtin macros. -
#6719fix attachment of doc comments for modules and use items. -
#6759fix rollup build. -
#6765fix misplaced diagnostics in macros. -
#6768fixconcat!with integer literals. -
#6774don’t bail to early when expanding erroneous macros. -
#6796fixFileIdcalculation in incorrect case diagnostics. -
#6798ignore extern items in incorrect-case check. -
#6804raise the size limit for macro-generated files. -
#6816completePartialEq, Eqrather thanEq, PartialEq. -
#6824don’t highlight parent nodes of comments on hover. -
#6845fix source code generation with only partially substituted generics.
Internal Improvements
-
#6806improve docs for building from source. -
#6597upgrade chalk and makeCHALK_OVERFLOW_DEPTHandCHALK_SOLVER_MAX_SIZEconfigurable via corresponding env variables. -
#6745proc macro cleanups. -
#6750,#6834,#6836completely move doc comments handling to attributes. -
#6767better handling of panicking proc macros. -
#6766install from source now supportscode-exploration. -
#6784addAnchoredPathabstraction to describe file-system paths in Rust files. -
#6797document preference for american spelling for code. -
#6825,#6827,#6828,#6829,#6830try hard to fix perf collection. -
#6818plumbing to support lifetimes inhir.