Repository navigation
Open
Description
@angelozerr a proposal for 0.31.0, for you to decide.
Today
- LSP4IJ supports IntelliJ 2024.2 and later (
pluginSinceBuild=242, no until-build), and builds and tests against IntelliJ IDEA Community 2024.2. - The plugin verifier on
mainchecks every release since 2024.2, and the current EAP: 2024.2, 2024.3, 2025.1, 2025.2, 2025.3, 2026.1, 2026.2 and 2026.3, 8 versions, 3 more each year. The tests run on 2024.2, 2025.3 and 2026.3.
Proposal
Support the IntelliJ releases of the last two years, and move the minimum with each minor release. For 0.31.0, that is 2025.1 to 2026.3, 6 versions:
pluginSinceBuild=251, andsinceBuild = "251"for the verifier inbuild.gradle.kts;- build and test against IntelliJ IDEA Community 2025.1 (
platformVersion=2025.1).
0.30.2 stays on 2024.2: it's a patch release.
What it gains
- Deprecated APIs of Umbrella: deprecated IntelliJ APIs that LSP4IJ uses, and their replacements #1971 whose replacement needs 2024.3 or 2025.1 become one-line changes:
CompletionConfidence.shouldSkipAutopopup,InlayActionHandler.handleClickand theFileSaverDescriptorconstructor. With 2025.2 instead, Umbrella: deprecated IntelliJ APIs that LSP4IJ uses, and their replacements #1971 counts seven, withActionUtil.invokeAction,XDropFrameHandler.canDropandXSmartStepIntoHandler.getPopupTitle(XSourcePosition). - Code that exists only for 2024.2 and 2024.3 can go:
CodeVisionEditorFeaturelooks upCodeVisionPassFactory.Companion.clearModificationStampby reflection for versions before 2024.3;ApplicationUtilsTestfalls back toApplicationEx.runUnlockingIntendedWritefor 2024.2;CommandUtilskeeps its own copy ofPathEnvironmentVariableUtil.findInPath, which 2026.3 schedules for removal, because thefindFirstthat replaces it doesn't exist in 2024.2. Whether 2025.1 has it is to be checked.
- The default test run covers a newer platform, closer to what most users run.
What it costs
- Users of IntelliJ-based IDEs 2024.2 and 2024.3 stay on LSP4IJ 0.30.x: the Marketplace keeps giving them the last compatible release, without later fixes.
- Plugins that depend on LSP4IJ and support 2024.x: Quarkus Tools also has
pluginSinceBuild=242, so its users on 2024.x would stay on LSP4IJ 0.30.x unless it moves too. Liberty Tools already needs 2026.1.
Open questions
- How many LSP4IJ users are still on 2024.2 and 2024.3? The Marketplace shows downloads by IDE version to the vendor only.
- Would Quarkus Tools move to 2025.1 for its next release too?
- 2025.1, or 2025.2 for the further cleanups?
Related: #1971.
Activity
angelozerr commentedon Nov 20, 2026
I am totally agree!
It would be nice to remove a lot of Java reflection used to support all versions of IJ.
I have no idea which 2025.X should be better.
lagergren commentedon Nov 20, 2026
Then I'd take 2025.1 for 0.31.0, as the rule of the last two years gives: it drops only 2024.x, and 2025.1 users keep getting fixes. 2025.2 would come with the minor release after it, with the further cleanups of #1971. I'll prepare a draft PR for 0.31.0 with 2025.1, to be merged once 0.30.2 is released; switching it to 2025.2 is a small change if you prefer that.
lagergren commentedon Nov 24, 2026
@angelozerr a follow-up question on the minimum for 0.31.0: 2025.1, as planned above (draft #2042), or 2025.3?
What 2025.3 would give over 2025.1:
XDebugger.Threads.View.Popupexists only from 2025.3 on.<add-to-group>inplugin.xml.ActionUtil.performAction,XDropFrameHandler.canDropFrame,XSmartStepIntoHandler.getPopupTitle()):DaemonCodeAnalyzer.restart(PsiFile, Object)without reflection;TextMateSyntaxMatcher, which 2025.2 and 2025.3 build differently;TerminalToolWindowTabsManager.createTabBuilder()(from 2025.3,@Experimental) for the terminal.ci.ymlalready runs as an extra job.What it costs:
pluginSinceBuild=242) would have to move further for its users to get 0.31.0.In short, 2025.1 keeps the two-year rule, and #2179 then needs the conditional registration. 2025.3 makes #2179 and a few #1971 items simpler, but supports one year of IDEs fewer. Switching #2042 from one to the other only changes
pluginSinceBuild, the verifier'ssinceBuildandplatformVersion, plus whatever cleanups go with it.lagergren commentedon Nov 27, 2026
LSP4IJ's users that still support IntelliJ 2024
Checked on 2026-11-27, for the 213 plugins in the README's list of LSP4IJ's users. Draft #2042 makes 2025.1 the minimum.
Red Hat
Quarkus Tools for IntelliJ is the only Red Hat plugin on the list. Its newest release, 2.6.1, supports 2024.2 and
later, and it has 262,603 downloads. A branch that moves it to 2025.1 is being prepared.
Liberty Tools for IntelliJ, by Open Liberty, already requires 2025.3, and its source 2026.1.
The most downloaded plugins that aren't Red Hat's
Of the 20 most downloaded, 12 already require 2025.1 or later:
Plans to drop 2024
None of these plugins plans it in the open. The GitHub repositories of 120 of the 131 were searched twice, issues and
pull requests, open and closed, for the IntelliJ versions and words such as "minimum", "drop" or "require", and every
hit was read. None tracks dropping 2024. The one open issue near the topic, Lean4ij #190, asks for 2024.1 support.
Not covered:
What it means for them
with it.
users on 2024.x get a plugin whose LSP4IJ lacks that API.
Is 0.30.2 a safe last release for IntelliJ 2024.x?
Largely, yes.
2024.2 and 2024.3 keep 0.30.2, and the plugin verifier finds it compatible with every release from 2024.2 to 2026.3.
The 131 plugins above keep working on 2024.x with it, as long as their own releases don't need anything newer.
years of releases LSP4IJ supports. Its users run an IDE that the rest of the ecosystem is leaving too: 12 of the 20
most downloaded plugins above already require 2025.1 or later.
that a newer version exists.
Two risks are real:
218 commits, with a lot of new debugger, installer and template code. If build: require IntelliJ 2025.1 #2042 is merged right after it, any
regression found in its first weeks stays with 2024.x users for good.
<depends>on LSP4IJ has no version. Say a pluginstill declares since-build 242 and starts using an API new in LSP4IJ 0.31.0. Its new release then installs on 2024.x
next to LSP4IJ 0.30.2, and fails there at runtime with
NoSuchMethodErrororNoClassDefFoundError. 131 pluginsdeclare 2024 support today, and none of them tracks the move.
A third, smaller one: CI that tests on 2024.x with the newest LSP4IJ nightly fails, as Quarkus Tools' does. That's
being handled for Quarkus Tools.
Recommendation
Drop 2024 for 0.31.0, as #2042 does, but not on the day 0.30.2 ships:
2024.2 and 2024.3. Say also that from 0.31.0 on, a plugin that uses new LSP4IJ API must require 2025.1 itself.
last release for 2024.x a patched one.
comes up in the following months, cut a 0.30.x release from the last 0.30 tag for it.
gives them. If 2024.x is still a large share, step 2 matters more, and the wait could be longer.
How it was measured
Marketplace, the since-build of its source, on its default branch or the branch of the README's link: from its
plugin.xml, its build files, or else theplatformVersionit builds against.The 131 plugins that still support IntelliJ 2024, by downloads
lagergren commentedon Nov 27, 2026
Java reflection after dropping 2024
Dropping 2024 removes only part of the reflection in LSP4IJ and in Quarkus Tools. Most of what's left reaches into
internal or private IntelliJ API, which no minimum version removes.
Reflection here means looking up an IntelliJ class, method or field by its name at runtime (
Class.forName,getMethod,setAccessible), instead of calling it in compiled code. Plugins do it for one of two reasons:impossible.
No compiler checks it, and neither does the plugin verifier. When JetBrains renames or removes something, the build
still passes: the feature breaks at runtime, often silently, because the exception is caught.
Checked on 2026-11-27. LSP4IJ is on
mainand on draft #2042. Quarkus Tools is on itsmainand on draftredhat-developer/intellij-quarkus#1640. Calls named
getMethod()that read the method name of an LSP or DAP messagearen't counted, since they aren't reflection.
LSP4IJ
main(minimum 2024.2) has 44 reflection calls in 15 files. #2042 removes 10 of them, in 2 files:CodeVisionEditorFeature's bridge to the API that 2024.2 had;CLOSING_TO_REOPENkey by its name.13 areas remain:
DAPDebugRunnerXDebuggerManager.newSessionBuilderDAPBreakOnValueChangeActionBreakpointInternalSupportXBreakpointBase,XDebugSessionImpl,XBreakpointManagerImpl; itsemitBreakpointChangedpart depends on 2025.2AnnotationHolderReflectionAnnotationSessionImpl,AnnotationHolderImpl, which have no public alternativeProjectIndexingDumbAndScanningStrategyProjectIndexingActivityHistoryListenerFoldingEditorFeatureFoldingUpdate.clearFoldingCacheLSPBreadcrumbsFeatureBreadcrumbsProvider.EP_NAMEDAPDebuggerEvaluatorXEvaluationCallbackWithOriginPluginUtilsPluginManagerCore.getPlugin, as a fallback in test modeJetBrainsLanguageServersSyntaxColorationCodeBlockRendererClass.forNamecheckJSONUtilsparseor newparseStringDAPCapabilitiesCapabilitiesQuarkus Tools
main(minimum 2024.2) has reflection in 5 files. #1640 removes two fallbacks from before 2020, which are dead codealready on 2024.2:
QuarkusExtensionsStep;AbstractGradleToolDelegate.These remain:
QuarkusRunDashboardCustomizerputUserDataandNODE_LINKS, which IntelliJ 2025.3 removed: the reflection keeps them on 2025.2 and olderAbstractGradleToolDelegateJavaGradleProjectImportProvider, internal and deprecated in 2025.1 to 2026.3, created by nameInjectedLanguageReflectionUtilInjectedLanguageUtilBase.findInjectionHost(VirtualFile), which has no public replacementEnumTypeAdapterWhat each minimum leaves
In both projects, most of what's left is internal or private IntelliJ API, which no minimum removes.
To get there, there are two ways, besides a higher minimum:
AnnotationHolderImplorclearFoldingCache.muescha commentedon Nov 27, 2026
One more thing worth adding to the analysis: the date of each plugin's last release.
angelozerr commentedon Nov 27, 2026
@lagergren @muescha thanks so much for yiur detailled analyse!
I am totally fine to move to 2025.x.
The only blocking issue is IJ Quarkus that it should also move to 2025.x.
My fear is that it will super difficult for me to do that next month.
docs: change notes for 0.30.2 (#2373)