Skip to content

Commit b9ee917

Browse files
Merged PR 474522: Pass --extension switch instead of the legacy --extensions
The previous switch was badly named, so this is the better name.
2 parents a8d6d14 + fd1f58e commit b9ee917

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,6 +1182,7 @@
11821182
"description": "Sets the logging level for the language server"
11831183
},
11841184
"dotnet.server.extensionPaths": {
1185+
"scope": "machine-overridable",
11851186
"type": [
11861187
"array",
11871188
null
@@ -1190,7 +1191,7 @@
11901191
"type": "string"
11911192
},
11921193
"default": null,
1193-
"description": "Override for path to langauge server --extensions argument"
1194+
"description": "Override for path to langauge server --extension arguments."
11941195
},
11951196
"dotnet.implementType.insertionBehavior": {
11961197
"type": "string",

src/lsptoolshost/roslynLanguageServer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ export class RoslynLanguageServer {
512512
let args: string[] = [];
513513

514514
for (const extensionPath of extensionPaths) {
515-
args.push("--extensions"); // TODO: switch to --extension naming
515+
args.push("--extension");
516516
args.push(extensionPath);
517517
}
518518

0 commit comments

Comments
 (0)