CSharp-Mode

less than 1 minute read

Install

Download the CSharpMode and put it in e.g. ~/emacs.d/list/. Edit your .emacs file to load the new mode.

;; Emacs Load Path
(setq load-path (cons "~/.emacs.d/lisp/" load-path))

;; csharp-mode
(autoload 'csharp-mode "csharp-mode" "Major mode for editing C# code." t)
(setq auto-mode-alist
    (append '(("\\.cs$" . csharp-mode)) auto-mode-alist))

References

Categories: