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: package.json
+14-4Lines changed: 14 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -521,10 +521,20 @@
521
521
"default": null,
522
522
"description": "Specifies the path to OmniSharp. This can be the absolute path to an OmniSharp executable, a specific version number, or \"latest\". If a version number or \"latest\" is specified, the appropriate version of OmniSharp will be downloaded on your behalf."
523
523
},
524
-
"omnisharp.useMono": {
525
-
"type": "boolean",
526
-
"default": false,
527
-
"description": "Launch OmniSharp with Mono."
524
+
"omnisharp.useGlobalMono": {
525
+
"type": "string",
526
+
"default": "auto",
527
+
"enum": [
528
+
"auto",
529
+
"always",
530
+
"never"
531
+
],
532
+
"enumDescriptions": [
533
+
"Automatically launch OmniSharp with \"mono\" if version 5.2.0 or greater is available on the PATH.",
534
+
"Always launch OmniSharp with \"mono\". If version 5.2.0 or greater is not available on the PATH, an error will be printed.",
535
+
"Never launch OmniSHarp on a globally-installed Mono."
536
+
],
537
+
"description": "Launch OmniSharp with the globally-installed Mono. If set to \"always\", \"mono\" version 5.2.0 or greater must be available on the PATH. If set to \"auto\", OmniSharp will be launched with \"mono\" if version 5.2.0 or greater is available on the PATH."
this.eventStream.post(newObservableEvents.OmnisharpFailure(`Error occured in loading omnisharp from omnisharp.path\nCould not start the server due to ${error.toString()}`,error));
@@ -321,15 +319,15 @@ export class OmniSharpServer {
0 commit comments