This is heavily WIP. Expect things to break and/or not work
- Install SofusA/csharp-language-server
- helix PR #8675
To get everything ready, build helix via 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_projectNeedsRestoreby immediately restoring via roslyn (workspace/_roslyn_restore) - Handle
workspace/projectInitializationCompleteand calltextDocument/diagnosticandtextDocument/_vs_getProjectContextsfor 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>