|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: "Changelog #4" |
| 4 | +date: 2019-12-23 03:12:00 +0100 |
| 5 | +--- |
| 6 | + |
| 7 | +Commit: [`ce07a2d`](https://github.com/rust-analyzer/rust-analyzer/commit/ce07a2daa9e53aa86a769f8641b14c2878444fbc) |
| 8 | + |
| 9 | +## New Features |
| 10 | + |
| 11 | +* [`#2577`](https://github.com/rust-analyzer/rust-analyzer/pull/2577) by default for VS Code, rely on client-side file watching. |
| 12 | +* [`#2568`](https://github.com/rust-analyzer/rust-analyzer/pull/2568) add option to disable `--all-targets` flag for `cargo watch`. |
| 13 | +* [`#2594`](https://github.com/rust-analyzer/rust-analyzer/pull/2594) type hints don't show default type arguments. |
| 14 | +* [`#2592`](https://github.com/rust-analyzer/rust-analyzer/pull/2592) initial type-inference for index expressions. |
| 15 | +* [`#2616`](https://github.com/rust-analyzer/rust-analyzer/pull/2616), [`#2619`](https://github.com/rust-analyzer/rust-analyzer/pull/2619) improve type-inference for closures. |
| 16 | +* [`#2617`](https://github.com/rust-analyzer/rust-analyzer/pull/2617) don't use approximate name resolution when computing hover. |
| 17 | +* [`#2623`](https://github.com/rust-analyzer/rust-analyzer/pull/2623) expand macros in impls. |
| 18 | +* [`#2628`](https://github.com/rust-analyzer/rust-analyzer/pull/2628) parse macros 2.0. |
| 19 | +* [`#2641`](https://github.com/rust-analyzer/rust-analyzer/pull/2641) parse const generics. |
| 20 | +* [`#2648`](https://github.com/rust-analyzer/rust-analyzer/pull/2648) rudimentary name resolution for local items. |
| 21 | + |
| 22 | +## Fixes |
| 23 | + |
| 24 | +* [`#2577`](https://github.com/rust-analyzer/rust-analyzer/pull/2577) better parser recovery for lambdas. |
| 25 | +* [`#2562`](https://github.com/rust-analyzer/rust-analyzer/pull/2562) correctly compute goto target range for a target inside a macro. |
| 26 | +* [`#2575`](https://github.com/rust-analyzer/rust-analyzer/pull/2575) correctly highlight `cargo watch` errors inside macros. |
| 27 | +* [`#2595`](https://github.com/rust-analyzer/rust-analyzer/pull/2595) fix parsing of expressions expanded by macros. |
| 28 | +* [`#2637`](https://github.com/rust-analyzer/rust-analyzer/pull/2637) optimize inlay hints. |
| 29 | +* [`#2643`](https://github.com/rust-analyzer/rust-analyzer/pull/2643) optimize change tracking. |
| 30 | + |
| 31 | +## Internal Improvements |
| 32 | + |
| 33 | +* [`#2581`](https://github.com/rust-analyzer/rust-analyzer/pull/2581) refactor `hir::Path` to separate paths with and without generic arguments on the type level. |
| 34 | +* [`#2583`](https://github.com/rust-analyzer/rust-analyzer/pull/2583) better prettier config for TypeScript extension |
| 35 | +* [`#2545`](https://github.com/rust-analyzer/rust-analyzer/pull/2545) add ids to all tokens (this is groundwork for hygiene and better support for IDE features inside macro calls). |
| 36 | +* [`#2629`](https://github.com/rust-analyzer/rust-analyzer/pull/2629) remove imports from hir. |
0 commit comments