Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json39
1 files changed, 39 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 15e08222ad..98e8bbf02a 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -2359,6 +2359,45 @@
}
},
{
+ "title": "rustfmt",
+ "properties": {
+ "rust-analyzer.rustfmt.extraArgs": {
+ "markdownDescription": "Additional arguments to `rustfmt`.",
+ "default": [],
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ {
+ "title": "rustfmt",
+ "properties": {
+ "rust-analyzer.rustfmt.overrideCommand": {
+ "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nformatting. This should be the equivalent of `rustfmt` here, and\nnot that of `cargo fmt`. The file contents will be passed on the\nstandard input and the formatted result will be read from the\nstandard output.",
+ "default": null,
+ "type": [
+ "null",
+ "array"
+ ],
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ {
+ "title": "rustfmt",
+ "properties": {
+ "rust-analyzer.rustfmt.rangeFormatting.enable": {
+ "markdownDescription": "Enables the use of rustfmt's unstable range formatting command for the\n`textDocument/rangeFormatting` request. The rustfmt option is unstable and only\navailable on a nightly build.",
+ "default": false,
+ "type": "boolean"
+ }
+ }
+ },
+ {
"title": "semanticHighlighting",
"properties": {
"rust-analyzer.semanticHighlighting.doc.comment.inject.enable": {