Open thatnerdjosh opened 3 years ago
hi @thatnerdjosh ! check this out: https://github.com/coc-extensions/coc-fsharp/blob/master/client/repl.ts
This is nice, how about C#? Thanks
If you could make a PR ;)
coc-utils
has REPLProvider so all you need to do is to figure out how to configure the C# REPL
I searched around and it looks like there are a few options -- csi
, scriptcs
, dotnet-script
, etc.
dotnet-script
seems good: dotnet tool install -g dotnet-script
Ok sounds good :) just wanted to check if it was desired functionality
@yatli I think what they meant is to execute the project (dotnet run
, dotnet watch run
) using a command
I've been playing around with that taking some inspiration from coc-flutter and ended up with a working draft (still need to polish a few things)
@Charly6596 off topic but... what font is that :)
@Charly6596 off topic but... what font is that :)
SauceCodePro Nerd Font Mono
Would it make sense for this extension to register a command to run code like the python extension (and some others) do?
Example: https://github.com/neoclide/coc-python/blob/2d54b0074652e833f8f928d2265aa39dc4efe173/src/terminals/codeExecution/codeExecutionManager.ts#L33
If so, I can work on this and make a PR. I know it would be helpful for me although one could just
:w !dotnet run —project <project>
or something similar, I think it would be nice to have the integration built in