aboutsummaryrefslogtreecommitdiff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-03-18 21:52:27 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-03-18 21:52:27 +0000
commit91576afc7e64f11dde2bed14b578e4914d253a6a (patch)
tree1a3b26b40881e2b1d1e87992090a79c0b40b09d5 /editors/code/package.json
parent7fc35d391c76aed4defc8600e75215845afa66b7 (diff)
parent34b428cc5e4b37ecd44063547f73fd1b05bf2b9e (diff)
Merge #995
995: Install and run `cargo watch` if user agrees r=matklad a=Xanewok This isn't a glorious patch but hopefully is useful :+1: This introduces a default background `cargo watch` task and (separately from that) asks the user on every startup if they want to run `cargo watch` (installs it if it's not available). r? @matklad does it fit the what you've been thinking about? Co-authored-by: Igor Matuszewski <[email protected]>
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 3834f2847..3e8cde388 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -168,6 +168,11 @@
168 "default": "ra_lsp_server", 168 "default": "ra_lsp_server",
169 "description": "Path to ra_lsp_server executable" 169 "description": "Path to ra_lsp_server executable"
170 }, 170 },
171 "rust-analyzer.enableCargoWatchOnStartup": {
172 "type": "boolean",
173 "default": "true",
174 "description": "When enabled, ask the user whether to run `cargo watch` on startup"
175 },
171 "rust-analyzer.trace.server": { 176 "rust-analyzer.trace.server": {
172 "type": "string", 177 "type": "string",
173 "scope": "window", 178 "scope": "window",