Fork me on GitHub

SpaceVim

A community-driven vim distribution


Home | About | Documentation | Development | Community | Sponsors


SpaceVim Layers: lang#csharp

Description

This layer is for csharp development.

Installation

Layer

To use this configuration layer, add SPLayer 'lang#csharp' to your custom configuration file.

OmniSharp Server

You must build the OmniSharp Server before using this layer’s features.

After all plugins installed, cd to the directory $SPACEVIM_PLUGIN_BUNDLE_DIR/repos/github.com/OmniSharp/omnisharp-vim/server (by default $HOME/.cache/vimfiles/repos/github.com/OmniSharp/omnisharp-vim/server, and then run

xbuild

for macOS and linux, or

msbuild

for Windows.

For more information, please read this link.

Key bindings

Key Binding Description
SPC l b compile the project
SPC l f format current file
SPC l d show doc
SPC l e rename symbol under cursor
SPC l g g go to definition
SPC l g i find implementations
SPC l g t find type
SPC l g s find symbols
SPC l g u find usages of symbol under cursor
SPC l g m find members in the current buffer
SPC l s r reload the solution
SPC l s s start the OmniSharp server
SPC l s S stop the OmniSharp server

Hosted on GitHub, Help improve this page — Theme by mattgraham,