This is heavily WIP. Expect things to break and/or not work
- Install SofusA/csharp-language-server
- helix PR #8675
- helix PR #11315
- steel PR #45
- steel PR #53
If you want to try, i'd advise using my frankenfork here (might be broken, no promises).
To get everything ready, just run cargo xtask steel
.
forge pkg install --git https://github.com/jdrst/csharp-hx.git
then in your init.scm
(require "csharp-hx/init.scm")
- Handle
workspace/_roslyn_projectNeedsRestore
by immediately restoring via roslyn (workspace/_roslyn_restore
) - Handle
workspace/projectInitializationComplete
and calltextDocument/diagnostic
andtextDocument/_vs_getProjectContexts
for every open (csharp) buffer
Currently this only adds a few commands to helix. Namely:
:dotnet-restore
: restore via roslyn lsp.:solution-open
: open solution in roslyn lsp.:project-open
: open project(s) in roslyn lsp.:dotnet
: run a dotnet cli command.:dotnet-build
: shortcut for:dotnet build <current-solution>
:dotnet-test
: shortcut for:dotnet test <current-solution>