Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.17 KB

File metadata and controls

38 lines (22 loc) · 1.17 KB

csharp-hx

This is heavily WIP. Expect things to break and/or not work

Installation

Prerequisites

To get everything ready, build helix via cargo xtask steel.

Installation

forge pkg install --git https://github.com/jdrst/csharp-hx.git

then in your init.scm

(require "csharp-hx/init.scm")

Current state

  • Handle workspace/_roslyn_projectNeedsRestore by immediately restoring via roslyn (workspace/_roslyn_restore)
  • Handle workspace/projectInitializationComplete and call textDocument/diagnostic and textDocument/_vs_getProjectContexts for every open (csharp) buffer

Commands

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>