csharp-hx
Augments Helix with extra functionality from the Roslyn C# LSP
- Stars: 11
- Last commit:
- Created:
Augments Helix with extra functionality from the Roslyn C# LSP
This is heavily WIP. Expect things to break and/or not work
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")
workspace/_roslyn_projectNeedsRestore by immediately restoring via roslyn (workspace/_roslyn_restore)workspace/projectInitializationComplete and call textDocument/diagnostic and textDocument/_vs_getProjectContexts for every open (csharp) bufferCurrently 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>