feat: support IntelliJ Platform 2026.1#1459
Merged
angelozerr merged 1 commit intoredhat-developer:mainfrom Apr 8, 2026
Merged
Conversation
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.
Contributor
|
LGTM, thanks @jomof ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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.