Skip to content

Commit 62879c4

Browse files
committed
Changelog #20
1 parent 9fd6076 commit 62879c4

File tree

2 files changed

+55
-24
lines changed

2 files changed

+55
-24
lines changed

manual.adoc

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -187,30 +187,7 @@ Prerequisites:
187187

188188
`LSP` package.
189189

190-
Installation:
191-
192-
1. Invoke the command palette with <kbd>Ctrl+Shift+P</kbd>
193-
2. Type `LSP Settings` to open the LSP preferences editor
194-
3. Add the following LSP client definition to your settings:
195-
+
196-
[source,json]
197-
----
198-
"rust-analyzer": {
199-
"command": ["rust-analyzer"],
200-
"languageId": "rust",
201-
"scopes": ["source.rust"],
202-
"syntaxes": [
203-
"Packages/Rust/Rust.sublime-syntax",
204-
"Packages/Rust Enhanced/RustEnhanced.sublime-syntax"
205-
],
206-
"initializationOptions": {
207-
"featureFlags": {
208-
}
209-
},
210-
}
211-
----
212-
213-
4. You can now invoke the command palette and type LSP enable to locally/globally enable the rust-analyzer LSP (type LSP enable, then choose either locally or globally, then select rust-analyzer)
190+
Invoke the command palette (`ctrl+shift+p`) and type LSP enable to locally/globally enable the rust-analyzer LSP (type LSP enable, then choose either locally or globally, then select rust-analyzer)
214191

215192
== Usage
216193

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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

Comments
 (0)