You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: editors/code/package.json
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -561,6 +561,21 @@
561
561
}
562
562
]
563
563
},
564
+
"rust-analyzer.checkOnSave.invocationStrategy": {
565
+
"markdownDescription": "Specifies the invocation strategy to use when running the checkOnSave command.\nIf `per_workspace_with_manifest_path` is set, the command will be executed for each\nworkspace, `--manifest-path {workspace-dir}` will be passed to the invoked command and\nthe command will be executed from the project root.\nIf `per_workspace` is set, the command will be executed for each workspace and the\ncommand will be executed from the corresponding workspace root.\nIf `once_in_root` is set, the command will be executed once in the project root.",
566
+
"default": "per_workspace",
567
+
"type": "string",
568
+
"enum": [
569
+
"per_workspace",
570
+
"per_workspace_with_manifest_path",
571
+
"once_in_root"
572
+
],
573
+
"enumDescriptions": [
574
+
"The command will be executed for each workspace, `--manifest-path {workspace-dir}` will be passed to the invoked command and the command will be executed from the project root.",
575
+
"The command will be executed for each workspace and the command will be executed from the corresponding workspace root.",
576
+
"The command will be executed once in the project root."
577
+
]
578
+
},
564
579
"rust-analyzer.checkOnSave.noDefaultFeatures": {
565
580
"markdownDescription": "Whether to pass `--no-default-features` to Cargo. Defaults to\n`#rust-analyzer.cargo.noDefaultFeatures#`.",
0 commit comments