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
This change updates the name of the 'omnisharp.useMono' option to 'omnisharp.useGlobalMono', and makes it
a tri-state value rather than a boolean. It now has three possible values:
* "auto": Launch OmniSharp on the globally-installed Mono if it's available.
* "always": Always try to launch OmniSharp on the globally-installed Mono and error if it's not available.
* "never": Never launch OmniSharp on the globall-installed Mono.
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."
0 commit comments