Skip to content

Commit fd1f58e

Browse files
Pass --extension switch instead of the legacy --extensions
The previous switch was badly named, so this is the better name.
1 parent 7a95508 commit fd1f58e

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
@@ -1184,6 +1184,7 @@
11841184
"order": 0
11851185
},
11861186
"dotnet.server.extensionPaths": {
1187+
"scope": "machine-overridable",
11871188
"type": [
11881189
"array",
11891190
null
@@ -1192,7 +1193,7 @@
11921193
"type": "string"
11931194
},
11941195
"default": null,
1195-
"description": "Override for path to langauge server --extensions argument"
1196+
"description": "Override for path to langauge server --extension arguments."
11961197
},
11971198
"dotnet.implementType.insertionBehavior": {
11981199
"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)