Repository navigation
Description
Problem
Since IntelliJ IDEA 2026.3, Settings → Languages & Frameworks shows two entries named "Language Servers":
- LSP4IJ's page (
LanguageServerListConfigurable, idLanguageServers), with "File operations timeout (ms)" and the "Add Language server" popup. - A new page from the plugin "LSP Connection Manager" (
com.intellij.lsp.ui, vendor JetBrains), which IntelliJ 2026.3 bundles. It registers aprojectConfigurablewith idlsp.servers, also underlanguage, with the display name "Language Servers". On it you add a "New LSP Server" with a stdio/socket channel, an executable path, arguments, environment variables and file name patterns, plus a "More via plugins…" link.
The settings tree with both entries:
LSP4IJ's page:
The JetBrains page:
Both show the same project icon with the same tooltip:
Technically nothing clashes: the two pages have different ids. But users can't tell them apart:
- Both entries have the same name and the same project icon, and the tree gives no hint which plugin owns which page.
- Both pages do the same thing: they define a language server with a command and the files it handles. A user doesn't know which form to use, or why a server they added on one page doesn't show up on the other one.
- Our documentation (UserGuide.md) points to
Preferences | Languages & Frameworks | Language Servers, which is now ambiguous.
Second problem: the same files served twice
If a user configures the same server on both pages, or two servers whose mappings overlap, two LSP clients run for the same files: LSP4IJ's and the platform's. Nothing tells the user why. This becomes likely exactly because the two pages look the same: a user who doesn't find the server they added on one page adds it again on the other.
Claude Code reproduced this in IntelliJ IDEA 2026.3 RC with a tiny test server that logs every client and reports one diagnostic per client. The same server was configured for *.lsptest on both pages:
- Two server processes started, one per client, and both received
initializeandtextDocument/didOpenfor the same file. The clients identify themselves asIntelliJ IDEA 263.7307.112(platform) andIntelliJ IDEA 2026.3 RC … (build IU-263.7307.112)(LSP4IJ). - The editor shows the same diagnostic twice on a one-line file:
Hovering the error shows both answers, one per client:
ERROR probe diagnostic from JetBrains (client IntelliJ_IDEA_263.7307.112, pid 90572)
ERROR probe diagnostic from LSP4IJ (client IntelliJ_IDEA_2026.3_RC_IntelliJ_IDEA_(build_IU-263.7307.112), pid 90593)
With a real server, the same applies to completion items, hovers, code actions and formatting.
Proposal
1. Rename LSP4IJ's page. ✅ Done in #1925: the page is now named Language Servers (LSP4IJ).
For example:
Language Servers (LSP4IJ), which keeps it sorted next to the JetBrains page, orLSP4IJ Language Servers
Only the bundle value language.servers in LanguageServerBundle.properties changes. The key is read in two places (plugin.xml and LanguageServerListConfigurable.getDisplayName()), and the page is opened by class (EditServerAction uses showSettingsDialog(project, LanguageServerListConfigurable.class, …)), so nothing that opens the page breaks. The id LanguageServers stays, so settings search and links keep working. The path in UserGuide.md needs updating.
2. Warn about overlapping mappings. When the JetBrains plugin is present, LSP4IJ could check whether a file is mapped on both sides and tell the user, for example:
- Per file (precise): when a file is opened and LSP4IJ starts a server for it, also check whether a server on the JetBrains page is enabled and one of its file name patterns matches the file. If so, show an editor notification or a balloon: "This file is also handled by the language server 'X' from Settings | Languages & Frameworks | Language Servers (JetBrains). Disable one of them to avoid duplicate results." with a link to each page.
- In the settings (early): on LSP4IJ's page, mark a server whose file name patterns or extensions also appear on the JetBrains page. The same executable path on both sides is a strong hint that it is the very same server.
How to read the JetBrains side, as Claude Code found by inspecting the 2026.3 jars:
- The settings live in the project service
com.intellij.platform.lsp.api.LspIntegrationSettings(implemented byLspIntegrationSettingsImpl), stored as componentLspServerSettingsin the workspace file ($WORKSPACE_FILE$,RoamingType.LOCAL). - Each server is an
LspServerConfigurationwithname,enabled,executablePath,arguments,filePatterns,communicationMode, andgetFileMatchers()returningList<FileNameMatcher>. - But the server list isn't public API:
getServers()is Kotlin-internal(getServers$intellij_lsp_ui_frontend). The public interface only hasgetPluginConfiguration(String). - Ways to read it anyway, in order of preference: ask JetBrains for a public read API; serialize the public
getState()withXmlSerializerand read thefilePatterns/executablePathfrom the XML; or call the internal getter by reflection. The last two can break in any release, so the check has to fail quietly. - LSP4IJ still builds against older platforms, so this needs an optional dependency on
com.intellij.lsp.uiwith its own config file, and it only applies from 2026.3 on.
On the LSP4IJ side, LanguageServersRegistry.findLanguageServerDefinitionFor(language, fileType, fileName) already says which LSP4IJ servers match a file, so the per-file check only needs the JetBrains side.
3. Possibly later: the JetBrains page has a "More via plugins…" link and an extension point LspIntegrationSettingsProvider that lets plugins list their servers there. It might be worth looking at whether LSP4IJ servers should show up there, so users find them from both pages. That's a bigger question and not needed for 1 and 2.
How this was checked
Claude Code checked this on IntelliJ IDEA 2026.3 RC (build 263.7307.112):
- The bundled plugin
plugins/lsp-ui-plugin("LSP Connection Manager",com.intellij.lsp.ui) contains theprojectConfigurablelsp.serverswithparentId="language", and itsLspUiBundle.propertieshaslsp.settings.display.name=Language Servers,New LSP ServerandMore via plugins…, which match the second page exactly. - IntelliJ IDEA 2026.1.4 doesn't bundle this plugin, so the duplicate first appears in 2026.3.
- The settings classes and the
@Stateannotation were read withjavapfrom the 2026.3 jars. - Test runs: separate sandbox instances of the 2026.3 RC, each with its own config and system folder and with LSP4IJ 0.30.0-SNAPSHOT and LSP Connection Manager 263.7307.200 installed. The test server is a small Python stdio server: it logs every message with the client's
clientInfoand answersdidOpenwith one diagnostic naming its client. LSP4IJ's server was configured throughUserDefinedLanguageServerSettings.xml, the platform's through theLspServerSettingscomponent in.idea/workspace.xml, both for*.lsptest.- With the plugin enabled, both clients started and both opened the file, and
get_file_problemsand the editor report the diagnostic twice (see above). - With
com.intellij.lsp.uiindisabled_plugins.txt, the IDE log says the plugin "is marked disabled" and loads only LSP4IJ. Only LSP4IJ's client started, and it opened the file normally. So disabling "LSP Connection Manager" is a workaround for users who don't need it. Its settings page isn't registered then either, because the plugin isn't loaded; that wasn't checked by looking at the settings dialog.
- With the plugin enabled, both clients started and both opened the file, and
- Side note, not part of this issue: in the very first run, LSP4IJ started its server and got the
initializeanswer, but sent nodidOpenfor the file that was already open at startup; a file opened later was handled normally. A second run with the same setup sentdidOpenat once. It happened once in three runs and wasn't investigated further.






Activity
muescha commentedon Nov 10, 2026
Confirmed: with #1925 the menu is renamed, the settings page now shows as Language Servers (LSP4IJ). I've struck through proposal 1 in the description.
Still open: 2. Warn about overlapping mappings, i.e. the double check whether LSP4IJ's mappings and the mappings on the JetBrains "Language Servers" page cover the same files.
muescha commentedon Nov 10, 2026
Closing this one: the confusing name is fixed by #1925 (the page is now "Language Servers (LSP4IJ)"). The remaining part, warning when LSP4IJ and IntelliJ's own Language Servers page serve the same files, continues in #1933.