aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-09 09:05:45 +0000
committerGitHub <[email protected]>2020-03-09 09:05:45 +0000
commitfcaab594518bb097e207e94453cfe11ef5413c39 (patch)
tree83a8d0f856feb789047a2af2b60d342d98084a81 /docs
parentbeb4f4954179998e317db33e47a48a9bb7374977 (diff)
parentce65cc949f9e183c7c166212b4f3d7d4abd102b0 (diff)
Merge #3514
3514: vscode: askBeforeDownload option r=matklad a=Veetaha This is a small step towards #3402, also implements my proposal stated in #3403 Also renamed `BinarySource` to `ArtifactSource` in anticipation of nightlies installation that requires downloading not a binary itself but `.vsix` package, thus generalized to `artifact` term. @matklad @lnicola Co-authored-by: Veetaha <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r--docs/user/readme.adoc19
1 files changed, 18 insertions, 1 deletions
diff --git a/docs/user/readme.adoc b/docs/user/readme.adoc
index f1386a8f9..e5843ed70 100644
--- a/docs/user/readme.adoc
+++ b/docs/user/readme.adoc
@@ -2,6 +2,13 @@
2:toc: preamble 2:toc: preamble
3:sectanchors: 3:sectanchors:
4:page-layout: post 4:page-layout: post
5// https://gist.github.com/dcode/0cfbf2699a1fe9b46ff04c41721dda74#admonitions
6:tip-caption: :bulb:
7:note-caption: :information_source:
8:important-caption: :heavy_exclamation_mark:
9:caution-caption: :fire:
10:warning-caption: :warning:
11
5 12
6 13
7// Master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository 14// Master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository
@@ -30,7 +37,7 @@ $ rustup component add rust-src
30 37
31=== VS Code 38=== VS Code
32 39
33This the best supported editor at the moment. 40This is the best supported editor at the moment.
34rust-analyzer plugin for VS Code is maintained 41rust-analyzer plugin for VS Code is maintained
35https://github.com/rust-analyzer/rust-analyzer/tree/master/editors/code[in tree]. 42https://github.com/rust-analyzer/rust-analyzer/tree/master/editors/code[in tree].
36 43
@@ -40,6 +47,16 @@ By default, the plugin will prompt you to download the matching version of the s
40 47
41image::https://user-images.githubusercontent.com/9021944/75067008-17502500-54ba-11ea-835a-f92aac50e866.png[] 48image::https://user-images.githubusercontent.com/9021944/75067008-17502500-54ba-11ea-835a-f92aac50e866.png[]
42 49
50[NOTE]
51====
52To disable this notification put the following to `settings.json`
53
54[source,json]
55----
56{ "rust-analyzer.updates.askBeforeDownload": false }
57----
58====
59
43The server binary is stored in `~/.config/Code/User/globalStorage/matklad.rust-analyzer`. 60The server binary is stored in `~/.config/Code/User/globalStorage/matklad.rust-analyzer`.
44 61
45Note that we only support the latest version of VS Code. 62Note that we only support the latest version of VS Code.