Skip to content

Implement automated installation for user-defined language servers #999

Closed

Description

@dsalathe

Background

Based on a recent discussion about adding SDL LSP as a template to LSP4IJ, there appears to be interest in supporting automated installation of language servers for user-defined templates. Currently, language server installation is a manual step for users, but there's potential to improve this experience.

Feature Request

Add support for automated language server installation in user-defined language server templates by:

  1. Implementing the install method in LSPClientFeatures for user-defined language servers
  2. Allowing templates to define two scripts:
    • A script to check if the language server is already installed
    • A script to install/download the server if needed

Benefits

  • Improved user experience with fewer manual steps
  • Consistent approach with existing implementations like Clojure LSP
  • Easier onboarding for new users

Implementation Notes

  • Some language servers like Clojure LSP have already implemented the install method in LSPClientFeatures
  • User-defined templates could leverage the same approach for consistency
  • Scripts should be configurable as part of the template export/import process

Related Discussion

This issue arises from the request to add the SDLB LSP as a template to LSP4IJ, where automated installation would enhance the user experience.

References

Activity

  1. added 13 commits that reference this issue on May 16, 2025
    5bc5b38
    8861393
    6dfadf8
    5c78538
    6ea65ef
    23061fb
    4495800
    491ccd2
    b84d69d
    69a6669
    d345511
    3b67fa9
    763dc1f
  2. 23 remaining items

  3. added 7 commits that reference this issue on May 22, 2025
    003ef3c
    4af716f
    493a7df
    5eeb6e7
    a48f10f
    0e6183d
    ec88e56
  4. added this to the 0.14.0 milestone on May 23, 2025
  5. moved this to Pending review in Java Toolingon May 23, 2025
  6. self-assigned this
    on May 23, 2025
  7. added a commit that references this issue on May 23, 2025
    91b0abe
  8. added a commit that references this issue on May 23, 2025
    1e0ad11
  9. moved this from Pending review to Done in Java Toolingon May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementuser-defined LS

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions