aboutsummaryrefslogtreecommitdiff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorBenjamin Coenen <[email protected]>2020-05-02 19:27:02 +0100
committerBenjamin Coenen <[email protected]>2020-05-02 19:27:02 +0100
commit4613497a7714c6cd87166e6525d764d75f8acefd (patch)
tree2527ae2c0ef2ef100efee3fcb8899f8e34d0d573 /editors/code/package.json
parent19e28888aa41b2845b47adb7314aed99d3c48679 (diff)
parent89e1f97515c36ab97bd378d972cabec0feb6d77e (diff)
Merge branch 'master' of github.com:rust-analyzer/rust-analyzer into fix_4202
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json28
1 files changed, 23 insertions, 5 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index b8aaa07d8..7ef727b9d 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -27,6 +27,7 @@
27 "scripts": { 27 "scripts": {
28 "vscode:prepublish": "tsc && rollup -c", 28 "vscode:prepublish": "tsc && rollup -c",
29 "package": "vsce package -o rust-analyzer.vsix", 29 "package": "vsce package -o rust-analyzer.vsix",
30 "build": "tsc",
30 "watch": "tsc --watch", 31 "watch": "tsc --watch",
31 "lint": "tsfmt --verify && eslint -c .eslintrc.js --ext ts ./src", 32 "lint": "tsfmt --verify && eslint -c .eslintrc.js --ext ts ./src",
32 "fix": " tsfmt -r && eslint -c .eslintrc.js --ext ts ./src --fix" 33 "fix": " tsfmt -r && eslint -c .eslintrc.js --ext ts ./src --fix"
@@ -204,11 +205,6 @@
204 "default": [], 205 "default": [],
205 "description": "Paths to exclude from analysis." 206 "description": "Paths to exclude from analysis."
206 }, 207 },
207 "rust-analyzer.notifications.workspaceLoaded": {
208 "type": "boolean",
209 "default": true,
210 "markdownDescription": "Whether to show `workspace loaded` message."
211 },
212 "rust-analyzer.notifications.cargoTomlNotFound": { 208 "rust-analyzer.notifications.cargoTomlNotFound": {
213 "type": "boolean", 209 "type": "boolean",
214 "default": true, 210 "default": true,
@@ -388,6 +384,28 @@
388 "description": "Enable Proc macro support, cargo.loadOutDirsFromCheck must be enabled.", 384 "description": "Enable Proc macro support, cargo.loadOutDirsFromCheck must be enabled.",
389 "type": "boolean", 385 "type": "boolean",
390 "default": false 386 "default": false
387 },
388 "rust-analyzer.debug.engine": {
389 "type": "string",
390 "enum": [
391 "auto",
392 "vadimcn.vscode-lldb",
393 "ms-vscode.cpptools"
394 ],
395 "default": "auto",
396 "description": "Preffered debug engine.",
397 "markdownEnumDescriptions": [
398 "First try to use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb), if it's not installed try to use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools).",
399 "Use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)",
400 "Use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)"
401 ]
402 },
403 "rust-analyzer.debug.sourceFileMap": {
404 "type": "object",
405 "description": "Optional source file mappings passed to the debug engine.",
406 "default": {
407 "/rustc/<id>": "${env:USERPROFILE}/.rustup/toolchains/<toolchain-id>/lib/rustlib/src/rust"
408 }
391 } 409 }
392 } 410 }
393 }, 411 },