docs/layers/lang/csharp.md
This layer is for csharp development.
To use this configuration layer, update the custom configuration file with:
[[layers]]
name = "lang#csharp"
highlight_types = 0
When opening a cs file for the first time, it will popup a window and ask whether install the OmniSharp server or not, enter 'Y' to confirm.
If you choose "coc" as your auto completion engine, you must run ":CocInstall coc-omnisharp" to install the extension.
| 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 c f | fix using |
SPC l c a | contextual code actions |
SPC l c c | find all code errors/warnings for the current solution |
SPC l s r | reload the solution |
SPC l s s | start the OmniSharp server |
SPC l s S | stop the OmniSharp server |