Emacs for C#

  • csharp-mode
    • 程式高亮
    • Yasnippet
  • omnisharp-mode
    • 程式補全
    • 語法檢查
    • 程式排版美化
    • 顯示變數資料型態
    • 跳到函式定義
    • 重新命名函式或變數
    • 重構建議…

Youtube 影片

預先安裝

安裝

(use-package csharp-mode
:ensure t)

(use-package omnisharp
:ensure t
:hook ((csharp-mode . omnisharp-mode)
(before-save . omnisharp-code-format-entire-file))
:config
(add-hook ‘omnisharp-mode-hook (lambda()
(add-to-list (make-local-variable ‘company-backends)
‘(company-omnisharp))))
)

安裝 omnisharp server

Meta-x omnisharp-install-server
Notice: compact(): Undefined variable: limits in /var/www/html/wp-includes/class-wp-comment-query.php on line 853 Notice: compact(): Undefined variable: groupby in /var/www/html/wp-includes/class-wp-comment-query.php on line 853

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *