Skip to content

Commit af662a4

Browse files
committed
Changelog #17
1 parent bce0808 commit af662a4

File tree

2 files changed

+63
-6
lines changed

2 files changed

+63
-6
lines changed

manual.adoc

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ $ cargo xtask install
9595
----
9696

9797
You'll need Cargo, nodejs and npm for this.
98-
To make VS Code use the freshly built server, add this to the settings:
99-
100-
[source,json]
101-
----
102-
{ "rust-analyzer.serverPath": "rust-analyzer" }
103-
----
10498

10599
Note that installing via `xtask install` does not work for VS Code Remote, instead you'll need to install the `.vsix` manually.
106100

@@ -116,6 +110,21 @@ page, or you can install it from source using the following command:
116110
$ cargo xtask install --server
117111
----
118112

113+
==== Arch Linux
114+
115+
`rust-analyzer` binary can be installed from AUR (Arch User Repository):
116+
117+
- https://aur.archlinux.org/packages/rust-analyzer-bin[`rust-analyzer-bin`] (binary from GitHub releases)
118+
- https://aur.archlinux.org/packages/rust-analyzer[`rust-analyzer`] (built from latest tagged source)
119+
- https://aur.archlinux.org/packages/rust-analyzer-git[`rust-analyzer-git`] (latest git version)
120+
121+
Install it with AUR helper of your choice, for example:
122+
123+
[source,bash]
124+
----
125+
$ yay -S rust-analyzer-bin
126+
----
127+
119128
=== Emacs
120129

121130
Emacs support is maintained https://github.com/emacs-lsp/lsp-mode/blob/master/lsp-rust.el[upstream].
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
= Changelog #17
2+
:sectanchors:
3+
:page-layout: post
4+
5+
Commit: commit:aaa6961aa6d19b405dd2e837a09ac96ed6ace995[] +
6+
Release: release:2020-03-23[]
7+
8+
== New Features
9+
10+
* pr:3582[] fetch appropriate value of `OUT_DIR` from `cargo check`.
11+
This enables rust-analyzer to work correctly with crates which use compile-time code generation. This might significantly slow-down startup time (as we need to run `cargo check` build), so this functionality is disabled by default.
12+
To enable, set:
13+
+
14+
[source,json]
15+
----
16+
"rust-analyzer.cargoFeatures.loadOutDirsFromCheck": true
17+
----
18+
* pr:3580[] macro expander is not more tolerant for syntax errors, which makes code completion inside macros more robust.
19+
* pr:3623[] **Fill Match Arms** assist now works even if some arms are already present.
20+
* pr:3607[] and instructions for installing rust-analyzer from AUR.
21+
* pr:3640[], pr:3651[] assist to merge imports with a common prefix.
22+
+
23+
image::https://user-images.githubusercontent.com/1711539/77323042-ea8b6980-6d14-11ea-8cb6-23dccafaa024.gif[]
24+
* pr:3662[] correctly part arbitrary enum discriminants.
25+
* pr:3663[] installation from source uses `rust-analyzer` from `$PATH` by default.
26+
* pr:3677[] include `macro_rules!` macros in workspace symbols.
27+
28+
== Fixes
29+
30+
* pr:3541[] correctly complete constants and paths in patterns.
31+
* pr:3668[] don't suggest **Invert If** assist for `if let` syntax.
32+
* pr:3671[] fix infinite loop in macro expansion during completion.
33+
* pr:3674[] use correct name for the library if it is renamed in Cargo.toml.
34+
* pr:3673[] guard against runaway macro expansion in expressions.
35+
* pr:3681[] only suggest machine-applicable suggestions from `cargo check`.
36+
* pr:3678[] fix rename behavior in macros.
37+
38+
== Internal Improvements
39+
40+
* pr:3584[] use `dyn Trait` when working with salsa database, which improves compile times in release mode.
41+
* pr:3606[], pr:3608[], pr:3610[] improve audit on CI.
42+
* pr:3614[] in the TypeScript extension, be more explicit about persistent state.
43+
* pr:3626[] check trailing whitespace on CI.
44+
* pr:3629[] simplify and streamline plugin auto-update.
45+
* pr:3635[] simplify extension versioning scheme.
46+
* pr:3656[] simplify arena API.
47+
* pr:3672[] assists documentation generator skips hidden files.
48+
* pr:3632[] log errors from `cargo check`.

0 commit comments

Comments
 (0)