Skip to content

docs: give the installer descriptor its own page, and say since which version each task and key works - #2258

Merged
lagergren merged 6 commits into
redhat-developer:mainfrom
lagergren:docs/installer-page-and-compatibility
Nov 26, 2026
Merged

lagergren merged 6 commits into
redhat-developer:mainfrom
lagergren:docs/installer-page-and-compatibility

Conversation

@lagergren

@lagergren lagergren commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

What

The installer descriptor was about 800 of the 1,100 lines of docs/UserDefinedLanguageServerTemplate.md, and nothing said which LSP4IJ version supports which installer task or key. An installer can be read by an earlier LSP4IJ, which quietly ignores what it doesn't know: an exported template, one bundled by a plugin, or one kept in the settings after a downgrade.

Change

  • Own page: the installer descriptor moves to docs/Installer.md, with its headings one level up and their text kept, so its anchors stay the same.

  • Old links still work: the template page keeps a short "Installer descriptor" section. Released plugins open #unique-url, #github-asset-download and #output-customization on main, so each has an HTML anchor there, next to a link to the section on the new page.

  • Links updated: the help links of the download task open the new page directly. The docs and the README link to it.

  • Compatibility: a new section, "Compatibility with earlier versions of LSP4IJ", and a "Since LSP4IJ x.y.z" note on each newer task and key:

    Since Task or key
    0.14.0 the installer, with almost every task and key; an earlier version ignores installer.json
    0.30.0 fileExists, with *, ? and **; an exec command string with arguments in double quotes
    0.30.2 outputMatches, initialize, replaceTemplateCommand with templateCommand, ${check.file}, stripRootFolder, the GitHub token

    It says what every version from 0.14.0 to 0.30.1 does with a task or key it doesn't know, which installers this affects, and to put a newer task in the onSuccess of an older one. The versions come from the first tag that contains each key's commit, and the behaviour of unknown tasks and keys from the code of each release.

  • Task list: the list of built-in tasks names showMessage too, and configureServer and replaceTemplateCommand are headings beside the other tasks rather than under the download task.

  • Template list order: the default template list in docs/UserDefinedLanguageServer.md follows the order of Choose template... again, by name.

Checks

  • All relative links and anchors of the docs resolve, and so does every docs URL that the plugin opens, including the old template-page anchors that released plugins open.
  • The moved text is unchanged apart from its heading levels, one sentence at its top, and one link back to the template page.

Merged with main after #2276: #2276 (#2274) removed the IDE's GitHub account as a source of the GitHub token, and edited that section in the template page, which this PR moves to docs/Installer.md. The same edits are carried over to docs/Installer.md (0b08347), including its Since table, so no page names the IDE's GitHub account any more. The link check reports 0 problems over 75 Markdown files.

The installer descriptor was about 800 of the 1,100 lines of the template
page. It is now docs/Installer.md, with its headings one level up and their
text kept, so that its anchors stay the same.

The template page keeps a short "Installer descriptor" section, with the
anchors that released plugins open on main, #unique-url,
#github-asset-download and #output-customization, each next to a link to
the section on the new page. The help links of the download task open the
new page, and the docs and the README link to it.
…s, and what an earlier version does with it

The installer page gets a "Compatibility with earlier versions of LSP4IJ"
section, and each task and key which came after 0.14.0 says since which
version it works:

- 0.14.0: the installer, with almost every task and key; an earlier version
  ignores installer.json.
- 0.30.0: the fileExists task, with its globs, and an exec command string
  whose arguments are in double quotes.
- 0.30.2: outputMatches, the initialize task, replaceTemplateCommand with
  its templateCommand, ${check.file}, stripRootFolder and the GitHub token.

The section says what every version from 0.14.0 to 0.30.1 does with a task
or key that it doesn't know, who it matters to, and to put a newer task in
the onSuccess of an older one. The notes of outputMatches, initialize and
replaceTemplateCommand on what an earlier version does now say it once, in
the same words.
The list of the default templates had "Camel Language Server" and "LSP
Server for EOLANG" at the places of their earlier names. It now follows the
order of Choose template..., which sorts the templates by name, as Java
compares strings: "C# Language Server (OmniSharp)" and "CSS Language
Server" before "Camel Language Server", and "ESLint Language Server" before
"Erlang Language Platform (ELP)".
@lagergren lagergren added this to the 0.30.2 milestone Nov 25, 2026
@lagergren lagergren added the documentation Improvements or additions to documentation label Nov 25, 2026
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

This review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry.

Next included review available in 20 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 67811b3a-f1fb-4d3a-92ae-c4b4847d6a41
Commits

Reviewing files that changed from the base of the PR and between 9688c9d and cae69b6.

Files selected for processing: 20

  • README.md
  • docs/Installer.md
  • docs/UserDefinedLanguageServer.md
  • docs/UserDefinedLanguageServerTemplate.md
  • docs/dap/UserGuide.md
  • docs/dap/user-defined-dap/codelldb.md
  • docs/user-defined-ls/ada_language_server.md
  • docs/user-defined-ls/astro-ls.md
  • docs/user-defined-ls/eo-lsp-server.md
  • docs/user-defined-ls/harper-ls.md
  • docs/user-defined-ls/jq-lsp.md
  • docs/user-defined-ls/luau-lsp.md
  • docs/user-defined-ls/omnisharp-roslyn.md
  • docs/user-defined-ls/perl-lsp.md
  • docs/user-defined-ls/stylelint-lsp.md
  • docs/user-defined-ls/sysml-lsp.md
  • docs/user-defined-ls/terraform-ls.md
  • docs/user-defined-ls/vscode-eslint-language-server.md
  • docs/user-defined-ls/wgsl-analyzer.md
  • src/main/java/com/redhat/devtools/lsp4ij/installation/definition/tasks/DownloadTask.java

@codecov

codecov Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.06%. Comparing base (9688c9d) to head (cae69b6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2258      +/-   ##
==========================================
- Coverage   58.11%   58.06%   -0.06%     
==========================================
  Files         846      846              
  Lines       36424    36424              
  Branches     7537     5714    -1823     
==========================================
- Hits        21169    21150      -19     
- Misses      12273    12284      +11     
- Partials     2982     2990       +8     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…a source of the GitHub token

redhat-developer#2276 removes that source, whose API is internal in IntelliJ 2026.3 (redhat-developer#2274). A github download takes the token of GITHUB_TOKEN or GH_TOKEN, or else of the LSP4IJ settings.
…nd-compatibility

# Conflicts:
#	docs/UserDefinedLanguageServerTemplate.md
@lagergren
lagergren merged commit e45dd8c into redhat-developer:main Nov 26, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant