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
Auto merge of #15558 - davidbarsky:davidbarsky/add-companion-extension-integration, r=Veykril
code: remove `rust-analyzer.discoverProjectCommand` in favor of a companion extension
I think it's time to remove this functionality from the `rust-analyzer` and move it into a dedicated extension responsible for this. Selfishly, this changes makes it tenable to do progress reporting to the editor and potentially do some more complicated things around managing _which_ workspaces are being used.
Copy file name to clipboardExpand all lines: editors/code/package.json
+4-7Lines changed: 4 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -471,16 +471,13 @@
471
471
"default": false,
472
472
"type": "boolean"
473
473
},
474
-
"rust-analyzer.discoverProjectCommand": {
475
-
"markdownDescription": "Sets the command that rust-analyzer uses to generate `rust-project.json` files. This command should only be used\n if a build system like Buck or Bazel is also in use. The command must accept files as arguments and return \n a rust-project.json over stdout.",
474
+
"rust-analyzer.discoverProjectRunner": {
475
+
"markdownDescription": "Sets the extension responsible for determining which extension the rust-analyzer extension uses to generate `rust-project.json` files. This should should only be used\n if a build system like Buck or Bazel is also in use.",
476
476
"default": null,
477
477
"type": [
478
478
"null",
479
-
"array"
480
-
],
481
-
"items": {
482
-
"type": "string"
483
-
}
479
+
"string"
480
+
]
484
481
},
485
482
"rust-analyzer.showUnlinkedFileNotification": {
486
483
"markdownDescription": "Whether to show a notification for unlinked files asking the user to add the corresponding Cargo.toml to the linked projects setting.",
0 commit comments