Skip to content

Download terraform-ls from github assets #1996

@angelozerr

Description

@angelozerr

Language Server Version

Problem Statement

Hi,

I am the author of https://github.com/redhat-developer/lsp4ij which is a free LSP/DAP support for IntelliJ.

We provide several integration of language servers which are declared only with JSON files at https://github.com/redhat-developer/lsp4ij/tree/main/src/main/resources/templates/lsp

For instance you can see a sample with https://github.com/redhat-developer/lsp4ij/tree/main/src/main/resources/templates/lsp/rust-analyzer

I create this issue because I would like to provide an auto installer which work with any OS (I dont want to use brew for instance because it will require to install it and I am not sure that it will work with any OS).

rust-analyzer for instance provides in their releases pages all language servers for all OS at https://github.com/rust-lang/rust-analyzer/releases and LSP4IJ uses this declarative installer https://github.com/redhat-developer/lsp4ij/blob/main/src/main/resources/templates/lsp/rust-analyzer/installer.json to download the last version of rust-analyzer (by using github API) according the OS/arch of the user.

It will be fantastic if you could provide in your releases pages those download of assets to auto-install your language server without some extra configuration.

User will just open a file and LSP4IJ will provide an editor notification to install your lsp server. Here a demo with rust

Image

Attempted Solutions

No response

Proposal

No response

Related LSP methods

No response

References

No response

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions