Changelog #88
Commit: df0936b
Release: 2021-08-02
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
-
#9693(first contribution) add Hover Range capability to get the type of an expression:
-
#9731add "Replace char with string" assist. -
#9732gate custom client-side commands behind capabilities. -
#9740make "Add explicit type" work for closure parameters. -
#9593make "Remove unused param" work for methods and associated functions.
Fixes
-
#9749(first contribution) excluderust-analyzer.server.pathfrom VS Code’s sync feature. -
#9744annotate type hints for pattern name ranges instead of the pattern itself:
-
#9558do not erase Cargo diagnostics from the closed documents. -
#9699parse extra::s in generic arguments. -
#9701correctly update diagnostics when files are opened and closed. -
#9709add capability for the "OpenCargo.toml" LSP extension. -
#9710don’t qualifyselfascratein "Add missing impl members". -
#9700remove the legacy macro scoping hack. -
#9722refine the targets of the "Extract function" assist. -
#9728attach comma token toMATCH_ARMinstead ofMATCH_ARM_LIST. -
#9742fix hover range for derive inputs. -
#9739favordereffed types in "Generate function" assist. -
#9747wrap inner tail expressions in the "MissingOkorSome" diagnostic.
Internal Improvements
-
#9718(first contribution) bumpnotifyversion. -
#9716stop reexportinghir_def'sItemInNsfrom HIR. -
#9724use more strictly-typed syntax nodes for analysis in "Extract function". -
#9727simplify the "Extract function" assist. -
#9743improve completion profiling. -
#9746add API to check what are the max limits in practice. -
#9703fix several typos and grammar mistakes.