/free-omnisharp-vscode

C# support for vscode-compatible editors

Primary LanguageTypeScriptMIT LicenseMIT

free-omnisharp-vscode

C# extension for vscode-compatible editors.

Why?

The debugger included in the official C# extension is proprietary and is licensed to only work with Microsoft versions of vscode. This extension replaces it with Samsung's MIT-licensed alternative.

Installation:

This extension is published at open-vsx.org.

Build from source:

Requirements:

git clone https://github.com/muhammadsammy/free-omnisharp-vscode.git

cd free-omnisharp-vscode

npm install

npm run compile

vsce package

then run Extensions: Install from VSIX from the command pallete and select the csharp-VERSION_NUMBER.vsix file.


Note about using .NET Core 3.1.40x SDKs

The .NET 3.1.40x SDKs require version 16.7 of MSBuild.

For MacOS and Linux users who have Mono installed, this means you will need to set omnisharp.useGlobalMono to never until a version of Mono ships with MSBuild 16.7.

Note about using .NET 5 SDKs

The .NET 5 SDK requires version 16.8 of MSBuild.

For Windows users who have Visual Studio installed, this means you will need to be on the latest Visual Studio 16.8 Preview. For MacOS and Linux users who have Mono installed, this means you will need to set omnisharp.useGlobalMono to never until a version of Mono ships with MSBuild 16.8.

What's new in 1.23.5

  • Set meaning of UseGlobalMono "auto" to "never" since Mono 6.12.0 still ships with MSBuild 16.7 (PR: #4130)
  • Ensure that the rename identifier and run code action providers do not apply changes twice (PR: #4133)
  • Do not send file changed events for .cs files (PR: #4141)
  • Update Razor to 6.0.0-alpha1.20521.3:
    • Improvements to HTML colorization for non-C# portions of the document.
    • Bug fix - the razor.format.enable option is honored again

What's new in 1.23.4

What's new in 1.23.3

What's new in 1.23.2