microsoft / azure-pipelines-language-server

A language server for Azure Pipelines YAML
38 stars 25 forks source link

Executable for the language server #145

Closed williamboman closed 1 year ago

williamboman commented 1 year ago

Hello! Would it be possible to add an executable to the language server package? See https://github.com/microsoft/compose-language-service/issues/114 for another example of this being added.

winstliu commented 1 year ago

Hey @williamboman, I see you've already discovered #107. How much do you expect this code will need to be changed in the future? Will it require regular (or even not-so-regular) maintenance, or is it an "add once and it should work foreverâ„¢" kind of situation?

I'm not against adding an executable, but since azure-pipelines-vscode bundles the server directly and doesn't need to use the executable, this isn't really a feature we'll be able to maintain or provide support for.

williamboman commented 1 year ago

Generally, VSCode-based language server implementations just need to be a one-liner executable. Something like this should be enough:

So #107 is pretty much exactly what I'd expect.

winstliu commented 1 year ago

Thanks. Could you please create a PR?