Open BryantIT opened 4 years ago
Definitely! We built the language server according to the Language Server Protocol so that it can be used in other tools. It's not likely something we will get to right away, so it is a great item for a PR.
@majastrz - is it the language server that auto-downloads .net core, or do we have a VS Code dependency for that?
It's a VS code extension that downloads the runtime.
Gotcha, so do we then need to figure out BYO-dotnet in order to enable support in other IDEs?
Yeah, but not from scratch. That VS code extension is also open source, so we should be able to fork that code.
Here's an example of an atom extension (C#) which uses the same language server as Bicep: https://github.com/OmniSharp/omnisharp-atom
I'm also interested in the language server being built and published...in my case for use in neovim.
I was thinking it'd be nice for it to be built as a Single file application such that it's a single download and run for the editor.
The downside of single-file is that it's tied to the specific runtime, which makes publishing a runtime-agnostic. If we're ok with that limitation for some of these scenarios, then I'm all for it.
Having a package for use in Atom similar to the extension created for VSCode would be great and allow access for more programmers. This way you'd cover those of us that prefer Atom over VSCode.