doomemacs/modules/lang/csharp/README.org

41 lines
1.1 KiB
Org Mode
Raw Normal View History

2018-02-04 05:05:32 -05:00
#+TITLE: :lang csharp
2019-09-26 14:20:25 -04:00
* Table of Contents :TOC:
- [[#description][Description]]
- [[#module-flags][Module Flags]]
- [[#plugins][Plugins]]
- [[#prerequisites][Prerequisites]]
- [[#macos][MacOS]]
- [[#arch-linux][Arch Linux]]
- [[#nixos][NixOS]]
2018-02-04 05:05:32 -05:00
2019-09-26 14:20:25 -04:00
* Description
This module adds C# support to Emacs. Powered by omnisharp (directly or through
LSP).
2018-02-04 05:05:32 -05:00
2019-09-26 14:20:25 -04:00
** Module Flags
+ =+lsp= Enables omnisharp through LSP support (requires omnisharp).
2019-09-26 14:20:25 -04:00
+ =+unity= Enables special support for the [[https://unity.com/][Unity game engine]] (particularly,
support for HLSL shaders).
2018-02-04 05:05:32 -05:00
2019-09-26 14:20:25 -04:00
** Plugins
+ [[https://github.com/josteink/csharp-mode][csharp-mode]]
+ [[https://github.com/omajid/csproj-mode][csproj-mode]]
2019-09-26 14:20:25 -04:00
+ [[https://github.com/OmniSharp/omnisharp-emacs][omnisharp]]* (not =+lsp=)
+ [[https://github.com/midnightSuyama/shader-mode][shader-mode]]* (=+unity=)
* Prerequisites
2018-02-04 05:05:32 -05:00
This module needs:
2019-09-26 14:20:25 -04:00
+ omnisharp (with the ~+lsp~ flag, this must be installed externally. Without
it, use ~M-x omnisharp-install-server~)
2018-02-04 05:05:32 -05:00
+ .NET SDKs (on Windows)
+ Mono (on UNIX platforms)
2019-09-26 14:20:25 -04:00
** TODO MacOS
2018-02-04 05:05:32 -05:00
** Arch Linux
2019-09-26 14:20:25 -04:00
#+BEGIN_SRC sh
2018-02-04 05:05:32 -05:00
sudo pacman --needed --noconfirm -S mono
#+END_SRC
2019-09-26 14:20:25 -04:00
** TODO NixOS