BREAKING CHANGE: omnisharp-emacs is being removed as it is no longer maintained and was deprecated (see https://github.com/OmniSharp/omnisharp-emacs) in favor of the omnisharp-roslyn LSP clients. It also no longer works in Emacs 28 (throwing an error when starting the server). Users need only enable :lang (csharp +lsp) and install omnisharp-roslyn instead. The :lang csharp module's README.org was intentionally left un-updated because of a larger, upcoming documentation update which will reflect these changes. Close #5036 |
||
---|---|---|
.. | ||
autoload.el | ||
config.el | ||
doctor.el | ||
packages.el | ||
README.org |
:lang csharp
Table of Contents TOC
Description
This module adds C# support to Emacs. Powered by omnisharp (directly or through LSP).
Module Flags
+lsp
Enables omnisharp through LSP support (requires omnisharp).+unity
Enables special support for the Unity game engine (particularly, support for HLSL shaders).+dotnet
Enables Dotnet transient interface with Sharper
Plugins
- csharp-mode
- csproj-mode
- omnisharp* (not
+lsp
) - shader-mode* (
+unity
) - sharper (
+dotnet
)
Prerequisites
This module needs:
- omnisharp (with the
+lsp
flag, this must be installed externally. Without it, useM-x omnisharp-install-server
) - .NET SDKs (on Windows)
- Mono (on UNIX platforms)
- .NET Core 1.X - 3.X or .NET 5 for cross platform
TODO MacOS
Arch Linux
sudo pacman --needed --noconfirm -S mono