Azure / bicep

Bicep is a declarative language for describing and deploying Azure resources
MIT License
3.17k stars 730 forks source link

Atom Package #480

Open BryantIT opened 3 years ago

BryantIT commented 3 years ago

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.

alex-frankel commented 3 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?

majastrz commented 3 years ago

It's a VS code extension that downloads the runtime.

alex-frankel commented 3 years ago

Gotcha, so do we then need to figure out BYO-dotnet in order to enable support in other IDEs?

majastrz commented 3 years ago

Yeah, but not from scratch. That VS code extension is also open source, so we should be able to fork that code.

anthony-c-martin commented 3 years ago

Here's an example of an atom extension (C#) which uses the same language server as Bicep: https://github.com/OmniSharp/omnisharp-atom

damienpontifex commented 3 years ago

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.

majastrz commented 3 years ago

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.