name | image | header | github |
---|---|---|---|
emacs |
emacs.png |
Omnisharp-Emacs |
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-mode
hook so it would enableomnisharp-mode
. - Add these lines in your init.el to make
omnisharp-mode
enabled 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
csharp
layer 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