jtbm37 / omnisharp.el

Fork of omnisharp-emacs project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

omnisharp.el

This is a fork of the official omnisharp mode. This has been created due to lack of interest from original author.

This will only work with omnisharp-roslyn server.

Prerequisites

Omnisharp-roslyn must be installed and present in your PATH.

The following emacs packages are needed: dash.el, flycheck, company, TBD…

Installation

As this is a fork, it cannot be on melpa.

  1. Clone the repo
  2. Generate the autoloads
  3. Load them in your init.file
 
(add-to-load-path (expand-file-name "~/path/to/omnisharp.el"))
(load "omnisharp-autoloads.el")
 

Configuration

Spacemacs

I use this custom layer. Put it in your layer folder and add it to dotspacemacs-configuration-layers.

Fuzzy completion

By default, completion is quite simple and doesn’t allow you to fuzzy complete. Set these variables in your init file to get fuzzy completion.

(setq omnisharp-company-match-type 'company-match-flx
      omnisharp-company-match-sort-by-flx-score t)

About

Fork of omnisharp-emacs project

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 96.5%Language:Shell 2.0%Language:Gherkin 1.3%Language:C# 0.1%