aboutsummaryrefslogtreecommitdiff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-02 13:40:05 +0100
committerGitHub <[email protected]>2020-04-02 13:40:05 +0100
commit47a48505a54a08939ef7958243bf8d87aa045bd4 (patch)
tree9ac0c488c7c9b47870458a389d5bedf0d93b73ae /editors/code/package.json
parent3c9e9d3f3ebbc7a22d932dd2a3fd63f1e44c4568 (diff)
parent407ab946ab5957ac92609b558c7ec15f0dfbb69a (diff)
Merge #3825
3825: Allow fully overriding check and fmt commands r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 1f95cd130..9c8cca615 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -248,6 +248,13 @@
248 "default": [], 248 "default": [],
249 "description": "Additional arguments to rustfmt" 249 "description": "Additional arguments to rustfmt"
250 }, 250 },
251 "rust-analyzer.rustfmt.overrideCommand": {
252 "type": "array",
253 "items": {
254 "type": "string"
255 },
256 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for formatting."
257 },
251 "rust-analyzer.checkOnSave.enable": { 258 "rust-analyzer.checkOnSave.enable": {
252 "type": "boolean", 259 "type": "boolean",
253 "default": true, 260 "default": true,
@@ -266,6 +273,13 @@
266 "default": "check", 273 "default": "check",
267 "markdownDescription": "Cargo command to use for `cargo check`" 274 "markdownDescription": "Cargo command to use for `cargo check`"
268 }, 275 },
276 "rust-analyzer.checkOnSave.overrideCommand": {
277 "type": "array",
278 "items": {
279 "type": "string"
280 },
281 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for checking. The command should include `--message=format=json` or similar option."
282 },
269 "rust-analyzer.checkOnSave.allTargets": { 283 "rust-analyzer.checkOnSave.allTargets": {
270 "type": "boolean", 284 "type": "boolean",
271 "default": true, 285 "default": true,