|
| 1 | += Changelog #20 |
| 2 | +:sectanchors: |
| 3 | +:page-layout: post |
| 4 | + |
| 5 | +Commit: commit:c388130f5ffbcbe7d3131213a24d12d02f769b87[] + |
| 6 | +Release: release:2020-04-13[] |
| 7 | + |
| 8 | +== New Features |
| 9 | + |
| 10 | +* pr:3875[] new release strategy: we now just promote Sunday's nightly to stable. |
| 11 | +* pr:3899[] enables semantic highlighting by default. |
| 12 | +* pr:3706[], pr:3884[], pr:3938[] show native rust-analyzer's diagnostics for not exhaustive patterns. |
| 13 | + As a reminder, all rust-analyzer diagnostics can be disabled with `"rust-analyzer.diagnostics.enable"` setting. |
| 14 | +* pr:3925[] **Reorder record fields** assist to sort the fields in the declaration order. |
| 15 | ++ |
| 16 | +image::https://user-images.githubusercontent.com/1711539/79140307-10f27100-7db8-11ea-9f3b-b246a7283bdf.gif[] |
| 17 | + |
| 18 | +* pr:3902[] improve documentation for Sublime Text. |
| 19 | +* pr:3880[], pr:3918[] process cfg attributes on fields and methods. |
| 20 | +* pr:3901[], pr:3910[] add more heuristics for hiding obvious param hints. |
| 21 | +* pr:3905[] handle patterns with ellipsis. |
| 22 | +* pr:3935[] generated trait methods now use `todo!` rather than `unimplemented!`. |
| 23 | + |
| 24 | +== Fixes |
| 25 | + |
| 26 | +* pr:3933[] fix accidentally quadratic behavior when expanding the `include!` macro. |
| 27 | +* pr:3868[] fix panic in Chalk. |
| 28 | +* pr:3872[] fix `"rust-analyzer.checkOnSave.command"` option. |
| 29 | +* pr:3878[] when completing a macro call, don't add `()` if they are already there. |
| 30 | +* pr:3892[] fix "parser is stuck" error during macro expansion. |
| 31 | +* pr:3912[] fix parsing of where clauses with `Fn` traits. |
| 32 | +* pr:3939[] canonicalize paths coming from `cargo metadata`. |
| 33 | + |
| 34 | +== Internal Improvements |
| 35 | + |
| 36 | +* pr:3944[] speed up type inference by up to 30% percent. |
| 37 | +* pr:3867[] add `CI` checks for stray `eprintln`s. |
| 38 | +* pr:3842[], pr:3906[], pr:3920[] copy libprocmacro from rustc. |
| 39 | + We will be using this library to load proc macro dynamic libraries. |
| 40 | +* pr:3863[] use `.rast` extension for serialized syntax trees in tests. |
| 41 | + This adds syntax highlighting! |
| 42 | +* pr:3876[] rename `complete_scope` to hopefully less confusing `complete_unqualified_path`. |
| 43 | +* pr:3882[] centralize the logic for computing missing struct fields. |
| 44 | +* pr:3826[] when doing syntax highlighting, produce a flat list of ranges. |
| 45 | +* pr:3909[] generate token accessors. |
| 46 | +* pr:3913[] remove allocation from the "least common ancestor" algorithm. |
| 47 | +* pr:3915[] format generated code in a more readable way. |
| 48 | +* pr:3917[] improve `tt::Subtree` debug print. |
| 49 | +* pr:3748[] implement Chalk's debug methods using TLS. |
| 50 | +* pr:3926[] align tokens names with `syn` somewhat. |
| 51 | +* pr:3940[] use `actions-rs` for `cargo audit`. |
| 52 | +* pr:3942[] more precise typing of TypeScript config. |
| 53 | +* pr:3949[] cleanup cfg handling. |
| 54 | +* pr:3951[], pr:3955[] simplify and unify grammar for record literals and patterns. |
0 commit comments