Repository navigation
docs: give the installer descriptor its own page, and say since which version each task and key works - #2258
Merged
lagergren merged 6 commits intoNov 26, 2026
Conversation
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)".
…emplateCommand beside the other tasks
|
Warning Review limit reachedThis 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. View limit details
|
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
This was referenced Nov 25, 2026
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-downloadand#output-customizationon 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:
installer.jsonfileExists, with*,?and**; anexeccommand string with arguments in double quotesoutputMatches,initialize,replaceTemplateCommandwithtemplateCommand,${check.file},stripRootFolder, the GitHub tokenIt 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
onSuccessof 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
showMessagetoo, andconfigureServerandreplaceTemplateCommandare headings beside the other tasks rather than under the download task.Template list order: the default template list in
docs/UserDefinedLanguageServer.mdfollows the order ofChoose template...again, by name.Checks
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 todocs/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.