Modernize plugin for IntelliJ IDEA 2026.1+#174
Open
thomaslabeyrie wants to merge 1 commit intotestmycode:masterfrom
Open
Modernize plugin for IntelliJ IDEA 2026.1+#174thomaslabeyrie wants to merge 1 commit intotestmycode:masterfrom
thomaslabeyrie wants to merge 1 commit intotestmycode:masterfrom
Conversation
Replace the unmaintained Maven build (which fetched a 2017-era IntelliJ SDK from a dead repo) with Gradle + IntelliJ Platform Gradle Plugin 2.x. Vendor tmc-core and its transitive dependencies under libs/ since maven.testmycode.net is no longer reachable. Pull Apache Ant from Maven Central — tmc-langs-util's ProjectType references BuildException in its static initializer and was crashing exercise downloads with NoClassDefFoundError. Source-side fixes for APIs that broke in modern IntelliJ: - Migrate StartupEvent from deprecated StartupActivity to ProjectActivity. - Move static service lookups out of <clinit> in TmcSettingsManager and ExerciseDatabaseManager — class initialization must not depend on services. - Replace ServiceManager.getService(...) with ApplicationManager.getService(...) in PersistentTmcSettings/PersistentExerciseDatabase, and route every call site through their getInstance() helpers. - Replace ContentFactory.SERVICE.getInstance() with ContentFactory.getInstance() in OpenToolWindowAction and TestResultPanelFactory. - Update NewProjectUtilModified / ProjectFromSourcesBuilderImplModified for the current ProjectManager / ModifiableModelsProvider APIs. - No-op PropertySetter.setLog4jProperties to silence the log4j appender warning; the platform now provides its own SLF4J binding. Bump plugin.xml since-build to 261 and version to 2.1.0; declare the required com.intellij.modules.platform / com.intellij.modules.java dependencies explicitly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
A compatibility update entirely made with Claude Code making the plugin compatible with IDEA 2026.1+
Replace the unmaintained Maven build (which fetched a 2017-era IntelliJ SDK from a dead repo) with Gradle + IntelliJ Platform Gradle Plugin 2.x. Vendor tmc-core and its transitive dependencies under libs/ since maven.testmycode.net is no longer reachable. Pull Apache Ant from Maven Central — tmc-langs-util's ProjectType references BuildException in its static initializer and was crashing exercise downloads with NoClassDefFoundError.
Source-side fixes for APIs that broke in modern IntelliJ:
Bump plugin.xml since-build to 261 and version to 2.1.0; declare the required com.intellij.modules.platform / com.intellij.modules.java dependencies explicitly.