|
| 1 | += Changelog #36 |
| 2 | +:sectanchors: |
| 3 | +:page-layout: post |
| 4 | + |
| 5 | +Commit: commit:e96bfd812a0f883bc9aa6b5ebe3b0a712c860487[] + |
| 6 | +Release: release:2020-08-03[] |
| 7 | + |
| 8 | +== Sponsors |
| 9 | + |
| 10 | +**Become a sponsor:** https://opencollective.com/rust-analyzer/[opencollective.com/rust-analyzer] |
| 11 | + |
| 12 | +== New Features |
| 13 | + |
| 14 | +* We started the effort to share the parser between rust-analyzer and rustc. |
| 15 | + This will take a while to complete, and won't give any new user-visible features until completion. |
| 16 | + As the first step, rust-analyzer now uses |
| 17 | + https://github.com/rust-analyzer/ungrammar/blob/da1aa8a99738c1a4fe5e321e39aae857c1eb54c8/rust.ungram[this grammar] |
| 18 | + to generate syntax tree structure. |
| 19 | +* pr:5547[] fold multiline parameter lists. |
| 20 | + |
| 21 | +* pr:5561[]: allow running more tests at once via the module runners: |
| 22 | ++ |
| 23 | +image::https://user-images.githubusercontent.com/2690773/88724896-e85a7100-d133-11ea-99ee-689126679cbc.png[] |
| 24 | + |
| 25 | +* pr:5563[] Check all targets for package-level tasks. |
| 26 | + When invoking "Select Runnable" with the caret on a runnable with a specific target (test, bench, binary), append the corresponding argument for the `cargo check -p` module runnable. |
| 27 | + |
| 28 | +* pr:5586[] Support new sysroot layout on nightly. |
| 29 | + |
| 30 | +== Fixes |
| 31 | + |
| 32 | +* pr:5596[] add checkOnSave.noDefaultFeatures and correct, how we handle some cargo flags. |
| 33 | +* pr:5565[] don't mix non-path-based rules with path-based in **S**tructural **S**earch **R**eplace. |
| 34 | +* pr:5554[] fix **Remove dbg** assist to not remove meaningful parenthesis and semicolons. |
| 35 | +* pr:5567[] wrap placeholder expansions in SSR in parenthesis when necessary. |
| 36 | +* pr:5513[] when generating launch.json configurations, correctly handle multi-folder workspaces. |
| 37 | + |
| 38 | +== Internal Improvements |
| 39 | + |
| 40 | +* pr:5572[] Switch to ungrammar for generating syntax trees. |
| 41 | +* pr:5574[] Replace rand with oorandom. |
| 42 | +* pr:5581[] Use perf-events to measure number of instructions in addition to wall clock time for https://rust-analyzer.github.io/metrics/[metrics] to get more stable measurements on CI. That plan was foiled by perf not working on the CI. |
| 43 | +* pr:5573[], pr:5578[], ... : rename various AST types |
| 44 | ++ |
| 45 | +|=== |
| 46 | +| Old Name | New Name |
| 47 | + |
| 48 | +|`ast::NomialDef`| `ast::AdtDef` |
| 49 | +|`ast::ModuleItem` | `ast::Item` |
| 50 | +|`ast::Alias` | `ast::Rename` |
| 51 | +|`ast::TypeParamList` | `ast::GenericParamList` |
| 52 | +|`ast::TypeRef` | `ast::Type` |
| 53 | +|`ast::PlaceholderType` | `ast::InferType` |
| 54 | +|`ast::DotDotPat` | `ast::RestPat` |
| 55 | +|=== |
0 commit comments