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: CHANGELOG.md
+25-13Lines changed: 25 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,24 +19,36 @@
19
19
* Fixes async call stacks with the .NET Core 2.1 runtime. ([#1892](https://github.com/OmniSharp/omnisharp-vscode/issues/1892))
20
20
* Fixes the debugger's browser launch code when launching projects configured to use Application Insights. ([2177](https://github.com/OmniSharp/omnisharp-vscode/issues/2177))
21
21
22
-
#### Specify OmniSharp Version
23
-
Enables the use of pre-release builds of Omnisharp. Downloading a pre-release build of Omnisharp allows the C# extension for VS Code to use features that have been merged into the "master" branch of omnisharp-roslyn(https://github.com/OmniSharp/omnisharp-roslyn) but that have not been officially released
24
-
* Adds support to use the "omnisharp.path" option to download a specific copy of OmniSharp. The possible values for this option are:
25
-
*`<Path to the omnisharp executable>` - Use a local copy of OmniSharp. The value must point to a directory which contains OmniSharp, typically a user's build output directory for the OmniSharp-Roslyn project. Example: C:\omnisharp-roslyn\artifacts\publish\OmniSharp.Stdio\win7-x64\OmniSharp.exe.
26
-
*`latest` - Use the latest CI build
27
-
*`<version>` - Use a specific version of OmniSharp. Example: `1.29.2-beta.60`
22
+
#### Options
28
23
29
-
#### Editor
24
+
* "omnisharp.path": This option has been updated to enable the user to specify different versions of OmniSharp, including prerelease versions. ([#1909](https://github.com/OmniSharp/omnisharp-vscode/issues/1909), PR: [#2039](https://github.com/OmniSharp/omnisharp-vscode/pull/2039))
25
+
26
+
Possible values for this option are:
27
+
*`<Path to the omnisharp executable>`: Use a local copy of OmniSharp. The value must point directly to the OmniSharp executable. This is typically the build output directory of the [omnisharp-roslyn](https://github.com/OmniSharp/omnisharp-roslyn) project on the current machine, for example, `C:/omnisharp-roslyn/artifacts/publish/OmniSharp.Stdio/win7-x64/OmniSharp.exe`.
28
+
*`latest`: Use the latest CI build from [omnisharp-roslyn](https://github.com/OmniSharp/omnisharp-roslyn).
29
+
*`<version>`: Use a specific version of OmniSharp. Example: `1.29.2-beta.60`
30
+
If "omnisharp.path" is not set, the defalut version of OmniSharp for the current release of C# for VS Code is used.
31
+
32
+
* "omnisharp.useGlobalMono": This option replaces the old "omnisharp.useMono" option and controls whether or not OmniSharp will be launched with a globally-installed version of Mono. (PR: [#2244](https://github.com/OmniSharp/omnisharp-vscode/pull/2244))
30
33
31
-
* Splits the OmniSharp status bar item into two parts, both of which appear on the left and have specific responsibilities. ([#2146](https://github.com/OmniSharp/omnisharp-vscode/issues/2146), PR: [@2133](https://github.com/OmniSharp/omnisharp-vscode/pull/2133))
32
-
* OmniSharp server status bar item - Shows the various stages that the OmniSharp server initialization might be in (eg: Downloading, Installing, etc). The flame icon is green when the server is initialized and running properly, or red if there is an error.
33
-
* Project Information status bar item -
34
-
* Displays the name of the selected project regardless of the currently active document.
35
-
* If a project is already selected, it displays the name of the selected project. Clicking on it displays a menu to switch to other projects in the workspace.
34
+
There are three possible values:
35
+
* "auto": Automatically launch OmniSharp with `mono` if version 5.2.0 or greater is available on the PATH.
36
+
* "always": Always launch OmniSharp with `mono`. If version 5.2.0 or greater is not available on the PATH, an error will be printed.
37
+
* "never": Never launch OmniSharp on a globally-installed Mono.
38
+
39
+
#### Status Bar
40
+
41
+
* Splits the OmniSharp status bar item into two parts, both of which appear on the left side of VS Code's status bar and have specific responsibilities. ([#2146](https://github.com/OmniSharp/omnisharp-vscode/issues/2146), PR: [#2133](https://github.com/OmniSharp/omnisharp-vscode/pull/2133))
42
+
* OmniSharp Server info:
43
+
* Displays the current state of the OmniSharp server, such as Downloading, Installing, etc. The flame icon is green when the server is initialized and running properly, or red if there is an error.
44
+
* Selected Project info:
45
+
* Displays the name of the selected project regardless of the currently active document.
46
+
* If a project is already selected, it displays the name of the selected project. Clicking on it displays a menu to switch to other projects in the workspace.
36
47
* If there are multiple possible launch targets, it displays 'Select Project'. Clicking on it displays a menu to select one.
37
48
38
49
#### Misc
39
-
* Enables suppressing the "some projects had trouble loading" popup using the `omnisharp.disableMsBuildDiagnosticWarning` option ([#2110]https://github.com/OmniSharp/omnisharp-vscode/issues/2110)
50
+
51
+
* Enables suppressing the "Some projects have trouble loading" popup using the `omnisharp.disableMSBuildDiagnosticWarning` option ([#2110]https://github.com/OmniSharp/omnisharp-vscode/issues/2110)
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