Skip to content

fix: LSP4IJ uses no internal IntelliJ API, which the Marketplace verification of the nightly build reported - #2276

Merged
lagergren merged 3 commits into
redhat-developer:mainfrom
lagergren:fix/no-internal-api-usages
Nov 26, 2026
Merged

lagergren merged 3 commits into
redhat-developer:mainfrom
lagergren:fix/no-internal-api-usages

Conversation

@lagergren

Copy link
Copy Markdown
Collaborator

Fixes #2274

What

The JetBrains Marketplace verification of the nightly build reports 6 internal API usages, from three changes since 0.30.1. An internal API usage blocks the Marketplace. This PR removes all of them: the plugin verifier now reports 0 internal API usages on every IDE from 2024.2 to 2026.3.

One commit per source, to be rebase-merged, as the third one changes a behaviour of main:

Commit Internal API Where Since Replaced with
fix: no internal IntelliJ API to tell that an editor closes to reopen FileEditorManagerImpl.CLOSING_TO_REOPEN (2 usages, all versions) ConnectDocumentToLanguageServerSetupParticipant.isClosingToReopen #2212 Key.findKeyByName("CLOSING_TO_REOPEN"), deprecated, a workaround
fix: no internal IntelliJ API to listen to the extension points of LSP4IJ ExtensionPointName.addExtensionPointListener(CoroutineScope, listener) (2 usages, 2024.3 to 2026.2) LanguageServersRegistry, ServerInstallerManager #2088 ExtensionPointName.addExtensionPointListener(listener, Disposable), deprecated from 2025.3
fix: a github download no longer sends the token of the IDE's GitHub account, whose API is internal in 2026.3 GHAccountManager (4 usages, 2026.3) GitHubPluginAccountTokenProvider #2230 nothing: the token source is removed

1. Close to reopen

No public field has the key on every supported version. FileEditorManagerImpl is @ApiStatus.Internal on all of them. FileEditorManagerKeys.CLOSING_TO_REOPEN is public from 2024.3, but FileEditorManagerKeys is missing in 2024.2, the minimum. No public editor event tells a close to reopen apart either: at the end of a tab drag, the platform sets the marker, closes the editor, and only then drops it into the target, which opens a detached window's file later, in a coroutine.

So isClosingToReopen finds the key by its name, once, and keeps it. This is a workaround: Key.findKeyByName is deprecated, as access by name is "a kind of hack", but it's not internal, and it's the same key on all versions:

  • From 2024.3, FileEditorManagerImpl.CLOSING_TO_REOPEN is initialized from FileEditorManagerKeys.CLOSING_TO_REOPEN.
  • In the IU 2024.2 and 2026.3 that the verifier checks, the string CLOSING_TO_REOPEN is a constant of one class only, among all the jars of the IDE and its bundled plugins: FileEditorManagerImpl in 2024.2, FileEditorManagerKeys in 2026.3. No other key has the name.

Once the minimum is 2024.3 or later, it can read FileEditorManagerKeys.CLOSING_TO_REOPEN (#1971).

2. Extension point listeners

No overload is public and not deprecated on all the supported versions:

Overload Internal Deprecated Missing
ExtensionPointName.addExtensionPointListener(CoroutineScope, listener), of #2088 2024.3 to 2026.2
ExtensionPointName.addExtensionPointListener(listener, Disposable) 2025.3 to 2026.3
ExtensionPoint.addExtensionPointListener(listener, boolean, Disposable), before #2088 2025.2 to 2026.3
ExtensionPoint.addExtensionPointListener(CoroutineScope, boolean, listener) 2024.2 to 2025.1

The chosen one is never internal, and deprecated on the fewest versions. (#2088 said it's deprecated only in 2026.3: it is from 2025.3.) The listeners' parent is a Disposable of the service, which dispose() disposes, so they still end with the service. The overload passes invokeForLoadedExtensions = false on every version, so they still don't run for the extensions already loaded.

3. The IDE's GitHub account

Neither the GitHub plugin nor com.intellij.collaboration.auth has a public way to read an account's token on 2026.3:

  • GHAccountManager is @ApiStatus.Internal on 2026.3 (public on 2024.2 to 2026.2).
  • GHCompatibilityUtil.getOrRequestToken is internal too, and asks the user to log in without a token.
  • GHAccountsUtil is public, but gives the accounts only; its token methods (requestNewToken, requestReLogin) are internal and show a login dialog.
  • AccountManager.findCredentials is public, but GitHub's account manager is GHAccountManager, which nothing public returns (GithubProjectDefaultAccountHolder.accountManager() is protected).
  • Git4Idea's GitHttpAuthDataProvider extensions (the GitHub plugin's GHSilentHttpAuthDataProvider) are public, but they give Git the credentials of a remote URL: they need a project, which a download has none of, and a dependency on Git4Idea; the one that isn't silent shows a login dialog.

So the account is no longer a token source. GitHubPluginAccountTokenProvider, GitHubAccountTokenProvider, plugin-github.xml, the optional dependency on org.jetbrains.plugins.github and its entry in platformBundledPlugins are removed. A github download sends the token of GITHUB_TOKEN, else GH_TOKEN, else the LSP4IJ settings, else none. The docs no longer name the account; the settings comment and the rate-limit message never did.

Release notes: #2230 isn't released, and its commit title, "…or else of the IDE's GitHub account…", would go into the 0.30.2 notes. It needs editing there to the settings token only.

Plugin verifier

./gradlew verifyPlugin over all the IDEs that main's CI verifies, locally, before and after (the same IDE builds as CI run 45722841876):

IDE Internal before Internal after Deprecated before Deprecated after Experimental before Experimental after
IU 2024.2 (242.26775.15) 2 0 9 10 243 239
IU 2024.3 (243.28141.41) 4 0 14 14 243 239
IU 2025.1 (251.29188.72) 4 0 16 16 235 231
IU 2025.2 (252.28539.166) 4 0 18 18 231 231
IU 2025.3 (253.33813.120) 4 0 21 23 231 231
IU 2026.1 (261.27258.169) 4 0 25 27 219 219
IU 2026.2 (262.12573.58) 4 0 27 29 211 211
IU 2026.3 EAP (263.8311.30) 6 0 30 32 211 211

All 8 stay Compatible, and the 1 scheduled-for-removal usage from 2025.2 on is unchanged. The deprecated counts change by:

  • Key.findKeyByName: +1 on every version. From 2024.3, it replaces the access of FileEditorManagerImpl.CLOSING_TO_REOPEN, which is deprecated there too, so 2024.3 to 2025.2 stay the same.
  • ExtensionPointName.addExtensionPointListener(listener, Disposable): +2 from 2025.3, one per service.

The experimental count drops by 4 on 2024.2 to 2025.1: runBlockingCancellable, which only the removed account provider used.

Tests

  • Red-green (IC 2024.2, headless): with a wrong key name and without the disposal in the two dispose(), 5 of 6 tests fail: in EditorWindowConnectionTest, the move to the opposite tab group and the drag into another window (the server read [didOpen, didClose, didOpen]) and the new marker test; in ExtensionPointListenerLifetimeTest, both tests. The two-tab-groups test doesn't use the marker. With the change, all pass.
  • New test: EditorWindowConnectionTest.testTheMarkerOfTheEditorManagerTellsThatAnEditorClosesToReopen: the marker that the platform's editor manager sets is the one LSP4IJ reads.
  • Changed tests: GitHubAssetFetcherTest and GitHubDownloadTaskTest lose the account tests; where the account was the fallback after a blank, unreadable or invalid settings token, they now expect no token. SecretRedactorTest checks a settings-token message instead of an account one. GitHubPluginAccountTokenProviderTest is removed with its class.
  • Affected features, headless, read from the JUnit XMLs: the classes above, SelectedEditorConnectionTest, *Document*, *Connection*, ConnectDuringStopTest, KeepAliveDuringPendingStopTest, ServerStopPendingRequestsTest, WorkspaceDiagnosticsTest, com.redhat.devtools.lsp4ij.LanguageServer*, ServerAddedWithSeveralOpenProjectsTest, server.definition.extension.*, dap.definitions.extension.*, installation.* and settings.*:
Platform Classes Tests Failures Errors Skipped
IC 2024.2 92 749 0 0 0
IC 2025.3 92 749 0 0 0
IU 2026.3 92 749 0 0 0

Behaviour change

Before (main) After
Without GITHUB_TOKEN and GH_TOKEN, a github download sends the token of the LSP4IJ settings, or else of the IDE's first github.com account It sends the token of the LSP4IJ settings, or none. Compared with 0.30.1, it only gains the settings token

The other two changes keep the behaviour: a file whose editor moves to another window or tab group stays open in its language servers, and the extension point listeners end with their service.

The plugin verifier reported `FileEditorManagerImpl` and its field `CLOSING_TO_REOPEN` as internal API usages on all
eight verified IDEs, 2024.2 to 2026.3, from `ConnectDocumentToLanguageServerSetupParticipant.isClosingToReopen`
(1a0dca5, redhat-developer#2212).

No public field has the key on every supported version:
- `FileEditorManagerImpl` is `@ApiStatus.Internal` on all of them.
- `FileEditorManagerKeys.CLOSING_TO_REOPEN` is public from 2024.3 on, but `FileEditorManagerKeys` is missing in
  2024.2, the minimum.
- No public editor event tells a close to reopen apart: at the end of a tab drag, the platform sets the marker, closes
  the editor and only then drops it into the target, which for a detached window opens the file later, in a coroutine.

So `isClosingToReopen` finds the platform's key by its name, with `Key.findKeyByName("CLOSING_TO_REOPEN")`, and keeps
it once found. It's the same key on every supported version: from 2024.3, `FileEditorManagerImpl.CLOSING_TO_REOPEN` is
`FileEditorManagerKeys.CLOSING_TO_REOPEN`, and no other platform key has the name. It's a workaround, and
`findKeyByName` is deprecated, not internal, so the verifier reports one deprecated usage instead of two internal ones.
Once the minimum version has `FileEditorManagerKeys`, `isClosingToReopen` can read it instead (redhat-developer#1971).

The key exists once the platform's editor manager is loaded, before any editor closes. Until it's found, as with the
editor manager of a test, no file has the marker, and the lookup is tried again at the next close.

`EditorWindowConnectionTest` gets a test that the marker which the platform's editor manager sets is the one that LSP4IJ
reads. With a wrong key name, it fails, and so do the tests of the move to the opposite tab group and of the drag into
another window.

Part of redhat-developer#2274
…P4IJ

The plugin verifier reported `ExtensionPointName.addExtensionPointListener(CoroutineScope, ExtensionPointListener)` as
an internal API usage on 2024.3 to 2026.2, from `LanguageServersRegistry.registerEpListener` and the constructor of
`ServerInstallerManager` (35eb012, redhat-developer#2088).

No overload is public and not deprecated on all the supported versions, 2024.2 to 2026.3:

| Overload | Internal | Deprecated | Missing |
|---|---|---|---|
| `ExtensionPointName.addExtensionPointListener(CoroutineScope, listener)`, of redhat-developer#2088 | 2024.3 to 2026.2 | | |
| `ExtensionPointName.addExtensionPointListener(listener, Disposable)` | | 2025.3 to 2026.3 | |
| `ExtensionPoint.addExtensionPointListener(listener, boolean, Disposable)`, of before redhat-developer#2088 | | 2025.2 to 2026.3 | |
| `ExtensionPoint.addExtensionPointListener(CoroutineScope, boolean, listener)` | | | 2024.2 to 2025.1 |

So both use `ExtensionPointName.addExtensionPointListener(listener, Disposable)`, which is never internal, and
deprecated on the fewest versions. A deprecation is a warning, and an internal usage blocks the Marketplace. redhat-developer#2088 said
that it's deprecated only in 2026.3; it is from 2025.3.

The behaviour is the one of redhat-developer#2088:
- The parent of the listeners is a Disposable of the service, which `dispose()` disposes, as it cancelled their scope
  before: they end when the service is disposed.
- The overload calls the listener only for the extensions added later, not those already loaded
  (`invokeForLoadedExtensions` is false on every version).

`ExtensionPointListenerLifetimeTest` checks both services. Without the disposal in `dispose()`, both of its tests fail.

Part of redhat-developer#2274
…account, whose API is internal in 2026.3

The plugin verifier reported `GHAccountManager` of the GitHub plugin as an internal API usage on 2026.3, with 4 usages
in `GitHubPluginAccountTokenProvider` (7b66f44, redhat-developer#2230).

Neither the GitHub plugin nor `com.intellij.collaboration.auth` has a public way to read the token of an account on
2026.3:
- `GHAccountManager`, which has the credentials of the accounts, is `@ApiStatus.Internal` there, and public on 2024.2
  to 2026.2.
- `GHCompatibilityUtil.getOrRequestToken` is internal too, and asks the user to log in when there is no token.
- `GHAccountsUtil` is public, but gives the accounts only. Its methods which give a token, as `requestNewToken`, are
  internal and show a login dialog.
- `AccountManager.findCredentials` of the collaboration tools is public, but GitHub's account manager is
  `GHAccountManager`, which nothing public returns: `GithubProjectDefaultAccountHolder.accountManager()` is protected.
- Git4Idea's `GitHttpAuthDataProvider` extensions, as the GitHub plugin's `GHSilentHttpAuthDataProvider`, are public,
  but they give Git the credentials of a remote URL: they need a project, which a download has none of, and an optional
  dependency on Git4Idea, and the provider that isn't silent shows a login dialog.

So the token of the IDE's GitHub account is no longer a source:
- `GitHubPluginAccountTokenProvider`, its interface `GitHubAccountTokenProvider`, `plugin-github.xml` and the optional
  dependency on `org.jetbrains.plugins.github` are removed, and so is the plugin from `platformBundledPlugins`.
- `GitHubAssetFetcher` sends the token of `GITHUB_TOKEN`, or else of `GH_TOKEN`, or else of the LSP4IJ settings, or
  none.
- The docs of the GitHub token no longer name the account. The settings comment and the message of the rate limit
  didn't name it.

redhat-developer#2230 isn't in a release yet: compared with 0.30.1, a github download only gains the token of the LSP4IJ settings.

Tests:
- `GitHubPluginAccountTokenProviderTest` is removed.
- `GitHubAssetFetcherTest` and `GitHubDownloadTaskTest` lose the tests of the account. The tests where the account was
  the fallback, after a token of the settings that is blank, unreadable or invalid, now expect no token.
- `SecretRedactorTest` checks a message of a settings token instead of an account token.

Fixes redhat-developer#2274
@lagergren lagergren added this to the 0.30.2 milestone Nov 26, 2026
@lagergren lagergren added the bug Something isn't working label Nov 26, 2026
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Changes
    • GitHub downloads no longer use tokens from the IDE’s GitHub account. Available token sources are GITHUB_TOKEN, GH_TOKEN, and the token configured in LSP4IJ settings. If a supplied token is rejected, downloads can still retry anonymously.
  • Documentation
    • Updated token setup guidance for Windows and Linux desktop-launched IDEs, and clarified how token sources appear in logs and notifications.

The change removes IDE GitHub-account token lookup and updates the remaining token sources and guidance. It also changes editor-marker lookup and replaces coroutine-scope listener cleanup with disposable-based cleanup.

Changes: GitHub token sources

Layer / File(s) Summary
Remove GitHub account token integration
src/main/java/com/redhat/devtools/lsp4ij/installation/download/GitHubAccountTokenProvider.java, src/main/kotlin/com/redhat/devtools/lsp4ij/installation/download/GitHubPluginAccountTokenProvider.kt, src/main/resources/META-INF/plugin-github.xml, src/main/resources/META-INF/plugin.xml, gradle.properties, src/test/kotlin/.../GitHubPluginAccountTokenProviderTest.kt
The provider, implementation, service registration, optional plugin dependency, and provider tests are removed.
Update token selection and validation
src/main/java/com/redhat/devtools/lsp4ij/installation/download/GitHubAssetFetcher.java, src/test/java/com/redhat/devtools/lsp4ij/installation/download/GitHubAssetFetcherTest.java, src/test/java/com/redhat/devtools/lsp4ij/installation/download/GitHubDownloadTaskTest.java, src/test/java/com/redhat/devtools/lsp4ij/installation/definition/SecretRedactorTest.java, docs/UserDefinedLanguageServerTemplate.md
Token selection and related tests and documentation now cover environment variables and LSP4IJ settings. The tests cover anonymous requests when no usable token is available.

Platform compatibility and listener lifecycle

Layer / File(s) Summary
Look up the editor closing marker
src/main/java/com/redhat/devtools/lsp4ij/ConnectDocumentToLanguageServerSetupParticipant.java, src/test/java/com/redhat/devtools/lsp4ij/EditorWindowConnectionTest.java
The setup participant looks up and caches the closing-marker key by name. A test checks behavior when the marker is set and cleared.
Manage extension listeners with disposables
src/main/java/com/redhat/devtools/lsp4ij/LanguageServersRegistry.java, src/main/java/com/redhat/devtools/lsp4ij/installation/definition/ServerInstallerManager.java
Both components register extension listeners under parent disposables and dispose those parents during cleanup.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Refactor

Suggested reviewers: angelozerr

Merge Risk: Minimal · up to 8ec51

This change removes the internal IntelliJ API usages and the IDE GitHub-account token source, and GitHub downloads fall back to the environment and settings tokens. No concrete merge-blocking defect was found. The 0.30.2 release notes still need updating to reflect the token-source change.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: removing internal IntelliJ API usages that block Marketplace verification of the nightly build. The changeset matches this. It replaces the internal CLOSING_TO_REOPEN …
Description check Passed The description is detailed and related to the changeset. It links issue #2274 and explains the three groups of internal API usages. It covers the replacements for each group, the removal of the GitHu…
Linked Issues check Passed Directly linked issue #2274 requires removal of the six internal API usages reported by the Marketplace verification. The head confirms the source changes that remove them. (1) ConnectDocumentToLangua…
Out of Scope Changes check Passed All changes relate to the removal of the internal API usages in #2274. The CLOSING_TO_REOPEN lookup change and the EP listener change are direct replacements. Their tests (EditorWindowConnectionTest m…
Full details: Title check

Explanation

The title names the main change: removing internal IntelliJ API usages that block Marketplace verification of the nightly build. The changeset matches this. It replaces the internal CLOSING_TO_REOPEN lookup, switches extension point listeners to a non-internal overload, and removes the IDE GitHub account token provider. The title is long (107 characters) and includes the commit-style 'fix:' prefix, but it is related and specific enough.

Full details: Description check

Explanation

The description is detailed and related to the changeset. It links issue #2274 and explains the three groups of internal API usages. It covers the replacements for each group, the removal of the GitHub account token source, the plugin verifier results, the tests run, and the behaviour change for GitHub downloads. It matches the code changes in the summary.

Full details: Linked Issues check

Explanation

Directly linked issue #2274 requires removal of the six internal API usages reported by the Marketplace verification. The head confirms the source changes that remove them. (1) ConnectDocumentToLanguageServerSetupParticipant no longer references FileEditorManagerImpl.CLOSING_TO_REOPEN. It finds the key by name with Key.findKeyByName("CLOSING_TO_REOPEN"), which is not an internal API, and caches it. (2) LanguageServersRegistry registers its extension point listeners with addExtensionPointListener(listener, Disposable). The Disposable is disposed in dispose(). The coroutine-scope overload is no longer used there. (3) The GitHub account token source (GitHubAccountTokenProvider, GitHubPluginAccountTokenProvider, plugin-github.xml, the plugin.xml dependency, and the gradle.properties bundled-plugin entry) is removed, so GHAccountManager is no longer used. The reported verifier results (0 internal usages on 2024.2 to 2026.3) and the headless test counts come from the author. I did not rerun them. The code evidence supports the removal. The key lookup is a deprecated workaround, and the PR states this openly. No non-coding requirement is in the issue.

Full details: Out of Scope Changes check

Explanation

All changes relate to the removal of the internal API usages in #2274. The CLOSING_TO_REOPEN lookup change and the EP listener change are direct replacements. Their tests (EditorWindowConnectionTest marker test, ExtensionPointListenerLifetimeTest) check that the replacements keep the previous behavior. The GitHub account token removal is the chosen replacement for the GHAccountManager usage. Its related edits (deleted provider and tests, plugin.xml and gradle.properties entries, documentation, and the SecretRedactorTest message) follow from that removal. The behavior change for github downloads (no IDE account fallback) is a consequence of that choice. The PR description discloses it and gives the release-notes follow-up for #2230. No unrelated change was found in the summarized scope. This conclusion relies on the whole-PR summary and on the head source of two files. I did not inspect every changed file.

Recent review info

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: b457657f-ec89-4109-b026-80926f6e706f
Commits

Reviewing files that changed from the base of the PR and between 01b5528 and 8ec5184.

Files selected for processing: 15

  • docs/UserDefinedLanguageServerTemplate.md
  • gradle.properties
  • src/main/java/com/redhat/devtools/lsp4ij/ConnectDocumentToLanguageServerSetupParticipant.java
  • src/main/java/com/redhat/devtools/lsp4ij/LanguageServersRegistry.java
  • src/main/java/com/redhat/devtools/lsp4ij/installation/definition/ServerInstallerManager.java
  • src/main/java/com/redhat/devtools/lsp4ij/installation/download/GitHubAccountTokenProvider.java
  • src/main/java/com/redhat/devtools/lsp4ij/installation/download/GitHubAssetFetcher.java
  • src/main/kotlin/com/redhat/devtools/lsp4ij/installation/download/GitHubPluginAccountTokenProvider.kt
  • src/main/resources/META-INF/plugin-github.xml
  • src/main/resources/META-INF/plugin.xml
  • src/test/java/com/redhat/devtools/lsp4ij/EditorWindowConnectionTest.java
  • src/test/java/com/redhat/devtools/lsp4ij/installation/definition/SecretRedactorTest.java
  • src/test/java/com/redhat/devtools/lsp4ij/installation/download/GitHubAssetFetcherTest.java
  • src/test/java/com/redhat/devtools/lsp4ij/installation/download/GitHubDownloadTaskTest.java
  • src/test/kotlin/com/redhat/devtools/lsp4ij/installation/download/GitHubPluginAccountTokenProviderTest.kt
Files with no reviewable changes: 5

  • src/main/java/com/redhat/devtools/lsp4ij/installation/download/GitHubAccountTokenProvider.java
  • src/main/kotlin/com/redhat/devtools/lsp4ij/installation/download/GitHubPluginAccountTokenProvider.kt
  • src/main/resources/META-INF/plugin-github.xml
  • src/main/resources/META-INF/plugin.xml
  • src/test/kotlin/com/redhat/devtools/lsp4ij/installation/download/GitHubPluginAccountTokenProviderTest.kt

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.

@lagergren

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@codecov

codecov Bot commented Nov 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.08%. Comparing base (01b5528) to head (8ec5184).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2276   +/-   ##
=======================================
  Coverage   58.07%   58.08%           
=======================================
  Files         848      846    -2     
  Lines       36436    36424   -12     
  Branches     5717     5714    -3     
=======================================
- Hits        21162    21158    -4     
+ Misses      12283    12281    -2     
+ Partials     2991     2985    -6     

☔ 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.

@lagergren
lagergren merged commit 9688c9d into redhat-developer:main Nov 26, 2026
11 checks passed
lagergren added a commit to lagergren/lsp4ij that referenced this pull request Nov 26, 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.
lagergren added a commit that referenced this pull request Nov 26, 2026
… version each task and key exists (#2258)

The installer descriptor, which UserDefinedLanguageServerTemplate.md described in its second half, gets a page of its own, docs/Installer.md, listed in the docs tree, with stub anchors where its sections were. Each task, key and variable says since which LSP4IJ version it exists, and a section says what an earlier version does with what it doesn't know. The task list includes showMessage, configureServer and replaceTemplateCommand get sections of their own, and the GitHub token section no longer names the IDE's GitHub account, which #2276 removed. The pages of the bundled language servers and debug adapters, and the documentation links in the installer's error messages, point to the new page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 internal API usages

1 participant