Repository navigation
Closed
Description
Follow-up to #1903. #1906 makes LSP4IJ compile against IntelliJ 2025.3. Building against 2026.3 (263.7307.200) needs more, found by building #1906's branch (fd499633) against it, with the changes below made in a scratch copy.
Users aren't affected: the plugin built against 2024.2 is what they install, and the plugin verification finds it compatible with 2026.3 (2 usages of API scheduled for removal, 54 of deprecated API). The classes that don't resolve below have moved to other modules; the APIs that LSP4IJ uses haven't changed. For example, XSourcePositionEx and XSourcePosition are the same in 2024.2 and 2026.3.
What building against 2026.3 needs
- A Java 25 toolchain. The classes of the 2026.x platform are Java 25 (class file version 69), which the Java 21 toolchain can't read:
bad class file … class file has wrong version 69.0, should be 65.0. The output has to stay Java 21 for the older platforms, for instance withoptions.release = 21, which wasn't tried. - The
IUplatform type.IntelliJ IDEA Community (It still is:IC) isn't published after 2025.3.ideaIChas 2026.1 to 2026.3, see the correction. With the IntelliJ Platform Gradle plugin 2.19.0,-PplatformType=IU -PplatformVersion=2026.3resolves the unified IntelliJ IDEA (com.jetbrains.intellij.idea:idea). - Modules that 2026.x ships separately. With these, all of the main code compiles against 2026.3 unchanged:
bundledModule("intellij.platform.debugger"),"intellij.platform.debugger.impl","intellij.platform.debugger.impl.shared"and"intellij.platform.debugger.impl.ui", forcom.intellij.xdebugger.*(XSourcePositionExis inimpl.ui);bundledPlugin("com.intellij.structureView"), forcom.intellij.ide.structureView.impl.common.
- Three tests.
MarkdownConverterTestusescom.intellij.lang.xml.XMLLanguage, which needs the XML module declared too.WorkspaceEditVersionTestcreates aDocumentEventImpl, whose constructor takesCharSequences and one moreintin 2026.3.CodeActionsOnTheEdtTestcallsEditorTracker.setActiveEditors, which 2026.3 doesn't have.
Running the tests on 2026.3
With 1 to 3 and the three tests set aside, the full suite on 2026.3 has 1513 tests, 74 failures and 7 skipped:
- 70 are tests of
.ts,.jsor.cssfiles: folding, formatting, typing, breadcrumbs, semantic tokens, hover.IUbundles IntelliJ's own JavaScript, TypeScript and CSS support, which takes these files over in the test sandbox, as inExpected instance of: …LSPSemanticTokenPsiElement actual: …JSReferenceExpression.IC, in which CI tests, has none of it, so these plugins need to be disabled in the test sandbox of anIUplatform. - 2 come from how a cancelled future is reported on Java 25, which 2026.3 runs on, filed as On IntelliJ 2026.3, a request cancelled while it's awaited is taken for a cancelled operation #1907 and fixed by fix: tell a cancelled request from a cancelled operation on Java 25 #1910. It affects the released plugin on 2026.3 too.
- 2 are
ResolvedCodeActionTest: since 2025.3, an intention isn't offered in a file outside the project's content unless it isDumbAware, and the test's file is outside it. That is Support LSP quick fixes and intention actions on non-project files by implementingDumbAwareonLSPLazyCodeActionIntentionAction#1668, which fix: support LSP actions on non-project files #1681 addresses.
Metadata
Metadata
Assignees
Labels
No labels
Activity
lagergren commentedon Nov 10, 2026
A correction to item 2: IntelliJ IDEA Community is still published after 2025.3, at least to the repository that the IntelliJ Platform Gradle plugin uses.
com.jetbrains.intellij.idea:ideaIChas 2026.1 to 2026.3, andideaIC-2026.3.zipis a distribution of its own, 630 MiB, against 1,460 MiB for the unified IntelliJ IDEA (ideaandideaIU). What changes with 2025.3 is that the unified IntelliJ IDEA (idea) starts there, and the Gradle plugin's list of product releases (printProductsReleases) names onlyIUfrom 2025.3 on. Whether LSP4IJ builds and tests againstIC2026.3 isn't tried.#1931 builds against 2026.3 and tests on the unified IntelliJ IDEA 2026.3 (
IU). It disables the JavaScript and CSS plugins in the test sandbox of every version, which changes nothing in Community, which has neither.lagergren commentedon Nov 10, 2026
One more correction, to the first test of item 4:
MarkdownConverterTestturned out not to need the XML module declared. With the build changes of #1931, it compiles against the unified IntelliJ IDEA 2026.3 as it is, and its 12 tests pass there, locally and in the 2026.3 job of #1931's CI. So of the three tests, onlyWorkspaceEditVersionTestandCodeActionsOnTheEdtTestneeded changes, and #1931 makes them.