Skip to content

fix: name the settings page Language Servers (LSP4IJ) - #1925

Merged
angelozerr merged 1 commit into
redhat-developer:mainfrom
lagergren:fix/name-the-settings-page-language-servers-lsp4ij
Nov 10, 2026
Merged

angelozerr merged 1 commit into
redhat-developer:mainfrom
lagergren:fix/name-the-settings-page-language-servers-lsp4ij

Conversation

@lagergren

Copy link
Copy Markdown
Collaborator

Refs #1920.

IntelliJ 2026.3 bundles the plugin LSP Connection Manager (com.intellij.lsp.ui), whose settings page is also named "Language Servers". It sits next to LSP4IJ's page under Languages & Frameworks, with the same icon, so users can't tell which page is LSP4IJ's. LSP4IJ's page is now named Language Servers (LSP4IJ), which keeps the two pages next to each other in the settings tree.

Only the name changes: the bundle value language.servers, in English and in the Chinese translation. The page keeps its id LanguageServers, so the settings search, and the code that opens the page by its class, keep working. The settings paths in the README and the user guides follow. The screenshots in the docs still show the earlier name.

What this leaves out of #1920, and why

#1920 also proposes two further steps. #1920 stays open for them.

  • A warning when a file is mapped on both pages, which starts two clients for it. LSP4IJ can't read the servers of the JetBrains page through an API: LspIntegrationSettings has no public way to list them, as getServers() is Kotlin-internal. Reading them by reflection, or by serializing the settings' state, would depend on internals that can change in any release, and the check would then stop working without a sign. It would also need an optional dependency on com.intellij.lsp.ui, with its own configuration file, for 2026.3 and later. A public read API from JetBrains would come first.
  • Listing LSP4IJ's servers on the JetBrains page, through its LspIntegrationSettingsProvider extension point. That decides how LSP4IJ relates to the platform's own LSP support, which is a design question for the maintainers rather than a fix.

Until then, as #1920 found, disabling LSP Connection Manager avoids the second client for users who don't need the platform's page.

The settings tests pass: 58 tests in 7 classes.

IntelliJ 2026.3 bundles LSP Connection Manager, whose settings page is
also named Language Servers and sits next to LSP4IJ's under Languages &
Frameworks, so the two look the same. LSP4IJ's page is now Language
Servers (LSP4IJ), in English and in the Chinese translation. Its id
stays LanguageServers, so the settings search and the code that opens
the page keep working. The settings paths in the README and the user
guides follow.
@coderabbitai

coderabbitai Bot commented Nov 10, 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 39 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: 5c8c6ada-efce-4532-a403-7097089b4a78
Commits

Reviewing files that changed from the base of the PR and between 176640b and b4e01a2.

Files selected for processing: 5

  • README.md
  • docs/UserGuide.md
  • docs/user-defined-ls/camel-lsp-server.md
  • src/main/resources/messages/LanguageServerBundle.properties
  • src/main/resources/messages/LanguageServerBundle_zh_CN.properties

@codecov

codecov Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.18%. Comparing base (176640b) to head (b4e01a2).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1925      +/-   ##
==========================================
+ Coverage   48.16%   48.18%   +0.02%     
==========================================
  Files         808      808              
  Lines       32404    32404              
  Branches     4989     6590    +1601     
==========================================
+ Hits        15607    15615       +8     
+ Misses      14309    14303       -6     
+ Partials     2488     2486       -2     

☔ 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 requested a review from angelozerr November 10, 2026 11:52
@lagergren lagergren added this to the 0.30.0 milestone Nov 10, 2026
@lagergren

Copy link
Copy Markdown
Collaborator Author

@muescha I am a bit uncomfortable doing more than this for 0.30.0, but if you think we are going to run into issues without warnings for the dual file mapping and stuff, please say so.

Thank you for your excellent issue submission/problem description

@angelozerr angelozerr added the bug Something isn't working label Nov 10, 2026
@angelozerr angelozerr self-assigned this Nov 10, 2026
@angelozerr angelozerr moved this to In Progress in Java Tooling Nov 10, 2026
@angelozerr angelozerr assigned lagergren and unassigned angelozerr Nov 10, 2026
@angelozerr
angelozerr merged commit 0b27552 into redhat-developer:main Nov 10, 2026
9 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Java Tooling Nov 10, 2026
@angelozerr

Copy link
Copy Markdown
Contributor

Thanks @lagergren !

@muescha

muescha commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Thanks :) @lagergren

I think the renaming was the more important fix.

The remaining issue, warning when LSP4IJ and IntelliJ's built-in Language Servers page are configured to handle the same files, is being tracked in #1933.

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

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants