| name | emacs |
|---|---|
| image | emacs.png |
| header | Omnisharp-Emacs |
| github | omnisharp-emacs |
- On regular Emacs:
- Enable the MELPA stable package archive. Use MELPA stable for official releases, or plain MELPA for development snapshots.
- Install package with
M-x package-install RET omnisharp RET - Configure your
csharp-modehook so it would enableomnisharp-mode. - Add these lines in your init.el to make
omnisharp-modeenabled for your csharp files:
(eval-after-load 'company '(add-to-list 'company-backends 'company-omnisharp)) (add-hook 'csharp-mode-hook 'omnisharp-mode) - On Spacemacs:
- Enable the
csharplayer in your~/.spacemacs - Restart
- Enable the
- Install the server with
M-x omnisharp-install-server RET– follow instructions on minibuffer. - Start the server with
M-x omnisharp-start-omnisharp-server. - You can also customize omnisharp with
M-x customize-group RET omnisharp RET
- See here