Skip to content

jdrst/csharp-hx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csharp-hx

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

Installation

Prerequisites

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.

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>

About

augments helix editor with (non standard) functionality from the roslyn c# lsp and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages