diff options
author | Igor Aleksanov <[email protected]> | 2020-09-05 14:21:14 +0100 |
---|---|---|
committer | Igor Aleksanov <[email protected]> | 2020-10-02 10:35:22 +0100 |
commit | 5b26629a4d8ca388db1b272a7c8b8ea37f45c9f9 (patch) | |
tree | 6d056f5658df00cff3c4acadf73d80f7d832d915 /editors/code/package.json | |
parent | 4a1b4b23bb58398a7e2a955e0be43ff2c09fe9e5 (diff) |
Support 'runnables' options in the vs code extension
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index bdd8a0c29..cc2ac3bd2 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -651,6 +651,22 @@ | |||
651 | ], | 651 | ], |
652 | "default": "full", | 652 | "default": "full", |
653 | "description": "The strategy to use when inserting new imports or merging imports." | 653 | "description": "The strategy to use when inserting new imports or merging imports." |
654 | }, | ||
655 | "rust-analyzer.runnables.overrideCargo": { | ||
656 | "type": [ | ||
657 | "null", | ||
658 | "string" | ||
659 | ], | ||
660 | "default": null, | ||
661 | "description": "Command to be executed instead of 'cargo' for runnables." | ||
662 | }, | ||
663 | "rust-analyzer.runnables.cargoExtraArgs": { | ||
664 | "type": "array", | ||
665 | "items": { | ||
666 | "type": "string" | ||
667 | }, | ||
668 | "default": [], | ||
669 | "description": "Additional arguments to be passed to cargo for runnables such as tests or binaries.\nFor example, it may be '--release'" | ||
654 | } | 670 | } |
655 | } | 671 | } |
656 | }, | 672 | }, |