Omnisharp – the Vim C# Plugin you’ve been waiting for

My current workflow involves three tools:

ConEmu is a console emulator, and I use it to run IISExpress, MSBuild, XUnit and Git.

Vim is used for most of my code editing.

Visual Studio is used for those jobs for which only Visual Studio will do. NuGet, Visual editing of EDMX files, etc.

Up until recently, if I ended up knee deep in classes I didn’t know, or if I needed to run around “Find Usages” and “Find Implementations”, I’d drop back in to Visual Studio. Then I found Omnisharp, while it was still in it’s infancy. Omnisharp hooks together Intellisense and a whole bunch of code tools and makes them available from within Vim.

If you write C#, it is possibly the most awesome plugin in the world ever.

There’s a bit of legwork to get it up and running – most of the hard work is done by an external server app which is run outside of Vim. Omnisharp has a launcher to run the server itself, but I’ve found that to be a little unreliable, and it’s a hell of a lot easier to just run it yourself.