Skip to content

feat: support IntelliJ Platform 2026.1#1459

Merged
angelozerr merged 1 commit intoredhat-developer:mainfrom
jomof:ij-261-prfix
Apr 8, 2026
Merged

feat: support IntelliJ Platform 2026.1#1459
angelozerr merged 1 commit intoredhat-developer:mainfrom
jomof:ij-261-prfix

Conversation

@jomof
Copy link
Copy Markdown
Contributor

@jomof jomof commented Apr 8, 2026

Configuration and test fixes required to support the IntelliJ Platform version 2026.1 (261).

Had to rename ClearThisConsoleAction to LSPClearConsoleAction because compiling against 2026.1 generated bytecode that triggered an IllegalAccessError when verified against 2025.3 (due to name collision with a package-private platform class in ConsoleViewImpl). Renaming avoids the collision and ensures cross-version compatibility.

Key changes:

  • Added junit-platform-launcher to resolve test discovery issues encountered with platform 2026.1.
  • Updated LSPFoldingRangeFixtureTestCase to account for changes in platform EditorTestUtil.buildInitialFoldingsInBackground() behavior.
  • Renamed ClearThisConsoleAction to LSPClearConsoleAction to resolve cross-version verification failure.

I confirmed gradlew build, test, and verifyPlugin work for all platform versions from 2024.1 to 2026.1. I also did runIde for each and visually confirmed the plugin is loaded. After this change, it is possible to re-enable "IJ Latest" github action since it is currently running against 2026.1.

Configuration and test fixes required to support the IntelliJ Platform version 2026.1 (261).

Had to rename ClearThisConsoleAction to LSPClearConsoleAction because compiling against 2026.1 generated bytecode that triggered an IllegalAccessError when verified against 2025.3 (due to name collision with a package-private platform class in ConsoleViewImpl). Renaming avoids the collision and ensures cross-version compatibility.

Key changes:
- Added junit-platform-launcher to resolve test discovery issues encountered with platform 2026.1.
- Updated LSPFoldingRangeFixtureTestCase to account for changes in platform EditorTestUtil.buildInitialFoldingsInBackground() behavior.
- Renamed ClearThisConsoleAction to LSPClearConsoleAction to resolve cross-version verification failure.

I confirmed gradlew build, test, and verifyPlugin work for all platform versions from 2024.1 to 2026.1. I also did runIde for each and visually confirmed the plugin is loaded.
After this change, it is possible to re-enable "IJ Latest" github action since it is currently running against 2026.1.
@jomof jomof marked this pull request as ready for review April 8, 2026 03:21
@angelozerr
Copy link
Copy Markdown
Contributor

LGTM, thanks @jomof !

@angelozerr angelozerr added this to the 0.20.0 milestone Apr 8, 2026
@angelozerr angelozerr moved this to In Progress in Java Tooling Apr 8, 2026
@angelozerr angelozerr merged commit 34550d9 into redhat-developer:main Apr 8, 2026
6 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Java Tooling Apr 8, 2026
@jomof jomof deleted the ij-261-prfix branch April 8, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants