Skip to content

Make the IntelliJ plugin installable in every JetBrains IDE: drop its unused Java and Gradle dependencies - #810

Merged
lagergren merged 3 commits into
masterfrom
lagergren/intellij-plugin-all-ides
Nov 26, 2026
Merged

lagergren merged 3 commits into
masterfrom
lagergren/intellij-plugin-all-ides

Conversation

@lagergren

@lagergren lagergren commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Why

Since the plugin was added (#377), plugin.xml has required com.intellij.modules.java and com.intellij.gradle. The JetBrains Marketplace derives a plugin's supported products from its dependencies. Every one of the 75 alpha uploads since April (the Marketplace API's compatibleVersions) lists only IntelliJ IDEA, IntelliJ IDEA Community, Android Studio, MPS and JetBrains Client. CLion, GoLand, PyCharm, WebStorm, RustRover, Rider and the others show as unsupported.

Nothing in the plugin uses either plugin. The New Project wizard and the run configuration are platform extensions, and no source imports from com.intellij.java or org.jetbrains.plugins.gradle.

verifyPlugin, which every Marketplace upload depends on, stayed green throughout because it checks only the latest stable IntelliJ IDEA, which bundles both plugins.

What

  1. Drop both <depends> lines and their bundledPlugin entries. With them gone from the compile classpath, a later use won't compile without someone noticing the dependency it needs.
  2. PluginManifestTest allows only com.intellij.modules.platform, TextMate and LSP4IJ as required dependencies. That catches a regression like this one without a second IDE in verifyPlugin. Code that used an undeclared plugin's classes would still fail verifyPlugin against IntelliJ IDEA, as an unresolved class.

Validation

  • :lang:intellij-plugin:test: 7 classes, 30 tests, 0 failures, with no compiler warnings.
  • verifyPlugin against IU-263.7307.353: Compatible.
  • Negative check: with <depends>com.intellij.modules.java</depends> put back, the new test fails, naming com.intellij.modules.java.
  • Before that, verifyPlugin ran in this PR's CI against PyCharm 2026.3 (PY-263.7307.351) as well: Compatible, so the plugin loads in an IDE that has neither the Java nor the Gradle plugin.

…s, which nothing in it uses

plugin.xml has required com.intellij.modules.java and com.intellij.gradle since the plugin was added (#377), and the
Marketplace derives the products a plugin supports from those: every one of the 75 alpha uploads since April lists
only IntelliJ IDEA, IntelliJ IDEA Community, Android Studio, MPS and JetBrains Client, and CLion, GoLand, PyCharm,
WebStorm and the other JetBrains IDEs as unsupported. No class of the plugin uses either plugin: its New Project
wizard and run configuration are platform extensions, and nothing imports from com.intellij.java or
org.jetbrains.plugins.gradle. So both <depends> lines go, and so do their bundledPlugin entries, which kept them on the
compile classpath where a later use would have compiled without anyone noticing the dependency it needs.

verifyPlugin stayed green throughout because it checks one IDE, the latest stable IntelliJ IDEA, which has both.

Validated: :lang:intellij-plugin:test (7 classes, 29 tests, 0 failures, fresh XML), buildPlugin and verifyPlugin
against IU-263.7307.353 ("Compatible"), with no compiler warnings.
… Java nor the Gradle plugin

verifyPlugin checked one IDE, the latest stable IntelliJ IDEA, which bundles both, so a dependency on either passed
it, and every Marketplace upload's verification, while it took the plugin out of every JetBrains IDE but IntelliJ
IDEA, Android Studio and MPS. It now also checks the latest stable PyCharm at or above the since-build, where such a
dependency is a missing mandatory dependency, which failureLevel already fails on. The cost is a second IDE
download (about 1 GB, kept by the IDE cache like IntelliJ IDEA's) and a second verification (about 20 s).

Validated: verifyPlugin checks PY-263.7307.351 and IU-263.7307.353, both "Compatible"; with
<depends>com.intellij.modules.java</depends> put back into plugin.xml it fails, "PY-263.7307.351 against
org.xtclang.idea:0.4.4-SNAPSHOT: 1 missing mandatory dependency", while IntelliJ IDEA still says "Compatible".
:lang:spotlessCheck passes.
…ace of verifying against PyCharm

A required dependency on the Java or Gradle plugin is what took the plugin out of every JetBrains IDE but IntelliJ
IDEA, Android Studio and MPS, and a unit test catches it without downloading a second IDE: PluginManifestTest now
allows only com.intellij.modules.platform, TextMate and LSP4IJ as required dependencies. Code that used a plugin it
doesn't declare would still fail verifyPlugin against IntelliJ IDEA, as an unresolved class, so verifyPlugin is back
to that one IDE.

Validated: :lang:intellij-plugin:test (7 classes, 30 tests, 0 failures) and verifyPlugin against IU-263.7307.353
("Compatible"); with <depends>com.intellij.modules.java</depends> put back into plugin.xml the new test fails, naming
com.intellij.modules.java. :lang:spotlessCheck passes.
@lagergren
lagergren requested review from cpurdy and ggleyzer November 26, 2026 12:33
lagergren added a commit that referenced this pull request Nov 26, 2026
…dependency, and Gradle only where the IDE has it

plugin.xml required com.intellij.modules.java and com.intellij.gradle, so the Marketplace offers the plugin only for
IntelliJ IDEA, Android Studio and MPS (master's #810 drops them there, where nothing used them). Here the plugin uses
the Gradle plugin in three places and the Java plugin in one, so:
- Gradle is an optional dependency whose xtc-gradle.xml registers what needs it, in CompilerGradle.kt: the roots of
  the Gradle builds IntelliJ imported (GradleBuildRoots), the model published again after an unlink
  (GradleBuildUnlinks, out of CompilerBuildUpdates) and after a sync (CompilerGradleSync). The rest of the plugin
  reaches linked builds' roots through its own extension point, buildRoots; without Gradle only the project's own
  directory is one, and the embedded compiler builds.
- XtcProjectTaskRunner finds Java's file type by name, not through the Java plugin's JavaFileType: without the Java
  plugin, as in PyCharm, no file is Java, so no module is left to a Java builder.
- The Java plugin's bundledPlugin entry goes; Gradle's stays for compiling CompilerGradle.kt.
PluginManifestTest requires the remaining dependencies (platform, TextMate, LSP4IJ, the test runner) and checks that
Gradle's is optional with its config file, so a required dependency on either plugin fails it, as on master.

Validated: :lang:intellij-plugin:test (57 classes, 243 tests, 0 failures, fresh XML); integrationTest and
playbookProbe compile; buildPlugin, verifyPluginInternalApis; verifyPlugin "Compatible" against IU-263.7307.353, and,
before the verification went back to IntelliJ IDEA alone, against PY-263.7307.351 too (so intellij.testRunner.plugin is
in PyCharm, and stays required); no compiler warnings; spotless; detekt reports nothing beyond its baseline.
@lagergren
lagergren merged commit 4350e40 into master Nov 26, 2026
5 checks passed
@lagergren
lagergren deleted the lagergren/intellij-plugin-all-ides branch November 26, 2026 14:41
lagergren added a commit that referenced this pull request Nov 26, 2026
…dependency, and Gradle only where the IDE has it

plugin.xml required com.intellij.modules.java and com.intellij.gradle, so the Marketplace offers the plugin only for
IntelliJ IDEA, Android Studio and MPS (master's #810 drops them there, where nothing used them). Here the plugin uses
the Gradle plugin in three places and the Java plugin in one, so:
- Gradle is an optional dependency whose xtc-gradle.xml registers what needs it, in CompilerGradle.kt: the roots of
  the Gradle builds IntelliJ imported (GradleBuildRoots), the model published again after an unlink
  (GradleBuildUnlinks, out of CompilerBuildUpdates) and after a sync (CompilerGradleSync). The rest of the plugin
  reaches linked builds' roots through its own extension point, buildRoots; without Gradle only the project's own
  directory is one, and the embedded compiler builds.
- XtcProjectTaskRunner finds Java's file type by name, not through the Java plugin's JavaFileType: without the Java
  plugin, as in PyCharm, no file is Java, so no module is left to a Java builder.
- The Java plugin's bundledPlugin entry goes; Gradle's stays for compiling CompilerGradle.kt.
PluginManifestTest requires the remaining dependencies (platform, TextMate, LSP4IJ, the test runner) and checks that
Gradle's is optional with its config file, so a required dependency on either plugin fails it, as on master.

Validated: :lang:intellij-plugin:test (57 classes, 243 tests, 0 failures, fresh XML); integrationTest and
playbookProbe compile; buildPlugin, verifyPluginInternalApis; verifyPlugin "Compatible" against IU-263.7307.353, and,
before the verification went back to IntelliJ IDEA alone, against PY-263.7307.351 too (so intellij.testRunner.plugin is
in PyCharm, and stays required); no compiler warnings; spotless; detekt reports nothing beyond its baseline.
lagergren added a commit that referenced this pull request Nov 26, 2026
…h the test runner among them

#810 added PluginManifestTest's requiresOnlyPluginsOfEveryIde to master, which checks the same as this branch's
communityDependencies; the rebase onto it kept this branch's test. It now has master's name, description and
comment, so that the branch differs from master there only in the list: it also requires intellij.testRunner.plugin,
which master's plugin doesn't use.

Validated: PluginManifestTest passes; :lang:intellij-plugin:spotlessCheck passes.
lagergren added a commit that referenced this pull request Nov 26, 2026
…dependency, and Gradle only where the IDE has it

plugin.xml required com.intellij.modules.java and com.intellij.gradle, so the Marketplace offers the plugin only for
IntelliJ IDEA, Android Studio and MPS (master's #810 drops them there, where nothing used them). Here the plugin uses
the Gradle plugin in three places and the Java plugin in one, so:
- Gradle is an optional dependency whose xtc-gradle.xml registers what needs it, in CompilerGradle.kt: the roots of
  the Gradle builds IntelliJ imported (GradleBuildRoots), the model published again after an unlink
  (GradleBuildUnlinks, out of CompilerBuildUpdates) and after a sync (CompilerGradleSync). The rest of the plugin
  reaches linked builds' roots through its own extension point, buildRoots; without Gradle only the project's own
  directory is one, and the embedded compiler builds.
- XtcProjectTaskRunner finds Java's file type by name, not through the Java plugin's JavaFileType: without the Java
  plugin, as in PyCharm, no file is Java, so no module is left to a Java builder.
- The Java plugin's bundledPlugin entry goes; Gradle's stays for compiling CompilerGradle.kt.
PluginManifestTest requires the remaining dependencies (platform, TextMate, LSP4IJ, the test runner) and checks that
Gradle's is optional with its config file, so a required dependency on either plugin fails it, as on master.

Validated: :lang:intellij-plugin:test (57 classes, 243 tests, 0 failures, fresh XML); integrationTest and
playbookProbe compile; buildPlugin, verifyPluginInternalApis; verifyPlugin "Compatible" against IU-263.7307.353, and,
before the verification went back to IntelliJ IDEA alone, against PY-263.7307.351 too (so intellij.testRunner.plugin is
in PyCharm, and stays required); no compiler warnings; spotless; detekt reports nothing beyond its baseline.
lagergren added a commit that referenced this pull request Nov 26, 2026
…h the test runner among them

#810 added PluginManifestTest's requiresOnlyPluginsOfEveryIde to master, which checks the same as this branch's
communityDependencies; the rebase onto it kept this branch's test. It now has master's name, description and
comment, so that the branch differs from master there only in the list: it also requires intellij.testRunner.plugin,
which master's plugin doesn't use.

Validated: PluginManifestTest passes; :lang:intellij-plugin:spotlessCheck passes.
lagergren added a commit that referenced this pull request Nov 26, 2026
… place its commits 529-535

#810 merged the plugin's Java and Gradle dependencies' removal to master; #693 was rebased onto it with no commit
dropped (errs-693-rebase-2026-11-26-810.tsv maps every commit), as its own fuller change, Gradle optional, is 530. The
plan's hashes are #693's new ones, matched by position with the subjects checked, and its header and open-PR line say
#810 is merged. 529-535 are placed: the container's resource checks (P12's container group), Gradle optional and the
dependency test's master name (a new P7 group, L6), the guide's corrections (P13), the VS Code report's scope (P12's
playbook documentation), X39's browser lookup (P7's UP88 group) and the tour videos' slower pacing (P12's tour video).

Validated: the appendix runs 1-535 in order with #693's hashes, and all 683 number-hash references agree with it.
lagergren added a commit that referenced this pull request Nov 27, 2026
…dependency, and Gradle only where the IDE has it

plugin.xml required com.intellij.modules.java and com.intellij.gradle, so the Marketplace offers the plugin only for
IntelliJ IDEA, Android Studio and MPS (master's #810 drops them there, where nothing used them). Here the plugin uses
the Gradle plugin in three places and the Java plugin in one, so:
- Gradle is an optional dependency whose xtc-gradle.xml registers what needs it, in CompilerGradle.kt: the roots of
  the Gradle builds IntelliJ imported (GradleBuildRoots), the model published again after an unlink
  (GradleBuildUnlinks, out of CompilerBuildUpdates) and after a sync (CompilerGradleSync). The rest of the plugin
  reaches linked builds' roots through its own extension point, buildRoots; without Gradle only the project's own
  directory is one, and the embedded compiler builds.
- XtcProjectTaskRunner finds Java's file type by name, not through the Java plugin's JavaFileType: without the Java
  plugin, as in PyCharm, no file is Java, so no module is left to a Java builder.
- The Java plugin's bundledPlugin entry goes; Gradle's stays for compiling CompilerGradle.kt.
PluginManifestTest requires the remaining dependencies (platform, TextMate, LSP4IJ, the test runner) and checks that
Gradle's is optional with its config file, so a required dependency on either plugin fails it, as on master.

Validated: :lang:intellij-plugin:test (57 classes, 243 tests, 0 failures, fresh XML); integrationTest and
playbookProbe compile; buildPlugin, verifyPluginInternalApis; verifyPlugin "Compatible" against IU-263.7307.353, and,
before the verification went back to IntelliJ IDEA alone, against PY-263.7307.351 too (so intellij.testRunner.plugin is
in PyCharm, and stays required); no compiler warnings; spotless; detekt reports nothing beyond its baseline.
lagergren added a commit that referenced this pull request Nov 27, 2026
…h the test runner among them

#810 added PluginManifestTest's requiresOnlyPluginsOfEveryIde to master, which checks the same as this branch's
communityDependencies; the rebase onto it kept this branch's test. It now has master's name, description and
comment, so that the branch differs from master there only in the list: it also requires intellij.testRunner.plugin,
which master's plugin doesn't use.

Validated: PluginManifestTest passes; :lang:intellij-plugin:spotlessCheck passes.
lagergren added a commit that referenced this pull request Nov 27, 2026
…dependency, and Gradle only where the IDE has it

plugin.xml required com.intellij.modules.java and com.intellij.gradle, so the Marketplace offers the plugin only for
IntelliJ IDEA, Android Studio and MPS (master's #810 drops them there, where nothing used them). Here the plugin uses
the Gradle plugin in three places and the Java plugin in one, so:
- Gradle is an optional dependency whose xtc-gradle.xml registers what needs it, in CompilerGradle.kt: the roots of
  the Gradle builds IntelliJ imported (GradleBuildRoots), the model published again after an unlink
  (GradleBuildUnlinks, out of CompilerBuildUpdates) and after a sync (CompilerGradleSync). The rest of the plugin
  reaches linked builds' roots through its own extension point, buildRoots; without Gradle only the project's own
  directory is one, and the embedded compiler builds.
- XtcProjectTaskRunner finds Java's file type by name, not through the Java plugin's JavaFileType: without the Java
  plugin, as in PyCharm, no file is Java, so no module is left to a Java builder.
- The Java plugin's bundledPlugin entry goes; Gradle's stays for compiling CompilerGradle.kt.
PluginManifestTest requires the remaining dependencies (platform, TextMate, LSP4IJ, the test runner) and checks that
Gradle's is optional with its config file, so a required dependency on either plugin fails it, as on master.

Validated: :lang:intellij-plugin:test (57 classes, 243 tests, 0 failures, fresh XML); integrationTest and
playbookProbe compile; buildPlugin, verifyPluginInternalApis; verifyPlugin "Compatible" against IU-263.7307.353, and,
before the verification went back to IntelliJ IDEA alone, against PY-263.7307.351 too (so intellij.testRunner.plugin is
in PyCharm, and stays required); no compiler warnings; spotless; detekt reports nothing beyond its baseline.
lagergren added a commit that referenced this pull request Nov 27, 2026
…h the test runner among them

#810 added PluginManifestTest's requiresOnlyPluginsOfEveryIde to master, which checks the same as this branch's
communityDependencies; the rebase onto it kept this branch's test. It now has master's name, description and
comment, so that the branch differs from master there only in the list: it also requires intellij.testRunner.plugin,
which master's plugin doesn't use.

Validated: PluginManifestTest passes; :lang:intellij-plugin:spotlessCheck passes.
lagergren added a commit that referenced this pull request Nov 27, 2026
… place its commits 529-535

#810 merged the plugin's Java and Gradle dependencies' removal to master; #693 was rebased onto it with no commit
dropped (errs-693-rebase-2026-11-26-810.tsv maps every commit), as its own fuller change, Gradle optional, is 530. The
plan's hashes are #693's new ones, matched by position with the subjects checked, and its header and open-PR line say
#810 is merged. 529-535 are placed: the container's resource checks (P12's container group), Gradle optional and the
dependency test's master name (a new P7 group, L6), the guide's corrections (P13), the VS Code report's scope (P12's
playbook documentation), X39's browser lookup (P7's UP88 group) and the tour videos' slower pacing (P12's tour video).

Validated: the appendix runs 1-535 in order with #693's hashes, and all 683 number-hash references agree with it.
lagergren added a commit that referenced this pull request Nov 28, 2026
…dependency, and Gradle only where the IDE has it

plugin.xml required com.intellij.modules.java and com.intellij.gradle, so the Marketplace offers the plugin only for
IntelliJ IDEA, Android Studio and MPS (master's #810 drops them there, where nothing used them). Here the plugin uses
the Gradle plugin in three places and the Java plugin in one, so:
- Gradle is an optional dependency whose xtc-gradle.xml registers what needs it, in CompilerGradle.kt: the roots of
  the Gradle builds IntelliJ imported (GradleBuildRoots), the model published again after an unlink
  (GradleBuildUnlinks, out of CompilerBuildUpdates) and after a sync (CompilerGradleSync). The rest of the plugin
  reaches linked builds' roots through its own extension point, buildRoots; without Gradle only the project's own
  directory is one, and the embedded compiler builds.
- XtcProjectTaskRunner finds Java's file type by name, not through the Java plugin's JavaFileType: without the Java
  plugin, as in PyCharm, no file is Java, so no module is left to a Java builder.
- The Java plugin's bundledPlugin entry goes; Gradle's stays for compiling CompilerGradle.kt.
PluginManifestTest requires the remaining dependencies (platform, TextMate, LSP4IJ, the test runner) and checks that
Gradle's is optional with its config file, so a required dependency on either plugin fails it, as on master.

Validated: :lang:intellij-plugin:test (57 classes, 243 tests, 0 failures, fresh XML); integrationTest and
playbookProbe compile; buildPlugin, verifyPluginInternalApis; verifyPlugin "Compatible" against IU-263.7307.353, and,
before the verification went back to IntelliJ IDEA alone, against PY-263.7307.351 too (so intellij.testRunner.plugin is
in PyCharm, and stays required); no compiler warnings; spotless; detekt reports nothing beyond its baseline.
lagergren added a commit that referenced this pull request Nov 28, 2026
…h the test runner among them

#810 added PluginManifestTest's requiresOnlyPluginsOfEveryIde to master, which checks the same as this branch's
communityDependencies; the rebase onto it kept this branch's test. It now has master's name, description and
comment, so that the branch differs from master there only in the list: it also requires intellij.testRunner.plugin,
which master's plugin doesn't use.

Validated: PluginManifestTest passes; :lang:intellij-plugin:spotlessCheck passes.
lagergren added a commit that referenced this pull request Nov 28, 2026
…dependency, and Gradle only where the IDE has it

plugin.xml required com.intellij.modules.java and com.intellij.gradle, so the Marketplace offers the plugin only for
IntelliJ IDEA, Android Studio and MPS (master's #810 drops them there, where nothing used them). Here the plugin uses
the Gradle plugin in three places and the Java plugin in one, so:
- Gradle is an optional dependency whose xtc-gradle.xml registers what needs it, in CompilerGradle.kt: the roots of
  the Gradle builds IntelliJ imported (GradleBuildRoots), the model published again after an unlink
  (GradleBuildUnlinks, out of CompilerBuildUpdates) and after a sync (CompilerGradleSync). The rest of the plugin
  reaches linked builds' roots through its own extension point, buildRoots; without Gradle only the project's own
  directory is one, and the embedded compiler builds.
- XtcProjectTaskRunner finds Java's file type by name, not through the Java plugin's JavaFileType: without the Java
  plugin, as in PyCharm, no file is Java, so no module is left to a Java builder.
- The Java plugin's bundledPlugin entry goes; Gradle's stays for compiling CompilerGradle.kt.
PluginManifestTest requires the remaining dependencies (platform, TextMate, LSP4IJ, the test runner) and checks that
Gradle's is optional with its config file, so a required dependency on either plugin fails it, as on master.

Validated: :lang:intellij-plugin:test (57 classes, 243 tests, 0 failures, fresh XML); integrationTest and
playbookProbe compile; buildPlugin, verifyPluginInternalApis; verifyPlugin "Compatible" against IU-263.7307.353, and,
before the verification went back to IntelliJ IDEA alone, against PY-263.7307.351 too (so intellij.testRunner.plugin is
in PyCharm, and stays required); no compiler warnings; spotless; detekt reports nothing beyond its baseline.
lagergren added a commit that referenced this pull request Nov 28, 2026
…h the test runner among them

#810 added PluginManifestTest's requiresOnlyPluginsOfEveryIde to master, which checks the same as this branch's
communityDependencies; the rebase onto it kept this branch's test. It now has master's name, description and
comment, so that the branch differs from master there only in the list: it also requires intellij.testRunner.plugin,
which master's plugin doesn't use.

Validated: PluginManifestTest passes; :lang:intellij-plugin:spotlessCheck passes.
lagergren added a commit that referenced this pull request Nov 28, 2026
… place its commits 529-535

#810 merged the plugin's Java and Gradle dependencies' removal to master; #693 was rebased onto it with no commit
dropped (errs-693-rebase-2026-11-26-810.tsv maps every commit), as its own fuller change, Gradle optional, is 530. The
plan's hashes are #693's new ones, matched by position with the subjects checked, and its header and open-PR line say
#810 is merged. 529-535 are placed: the container's resource checks (P12's container group), Gradle optional and the
dependency test's master name (a new P7 group, L6), the guide's corrections (P13), the VS Code report's scope (P12's
playbook documentation), X39's browser lookup (P7's UP88 group) and the tour videos' slower pacing (P12's tour video).

Validated: the appendix runs 1-535 in order with #693's hashes, and all 683 number-hash references agree with it.
lagergren added a commit that referenced this pull request Nov 29, 2026
…dependency, and Gradle only where the IDE has it

plugin.xml required com.intellij.modules.java and com.intellij.gradle, so the Marketplace offers the plugin only for
IntelliJ IDEA, Android Studio and MPS (master's #810 drops them there, where nothing used them). Here the plugin uses
the Gradle plugin in three places and the Java plugin in one, so:
- Gradle is an optional dependency whose xtc-gradle.xml registers what needs it, in CompilerGradle.kt: the roots of
  the Gradle builds IntelliJ imported (GradleBuildRoots), the model published again after an unlink
  (GradleBuildUnlinks, out of CompilerBuildUpdates) and after a sync (CompilerGradleSync). The rest of the plugin
  reaches linked builds' roots through its own extension point, buildRoots; without Gradle only the project's own
  directory is one, and the embedded compiler builds.
- XtcProjectTaskRunner finds Java's file type by name, not through the Java plugin's JavaFileType: without the Java
  plugin, as in PyCharm, no file is Java, so no module is left to a Java builder.
- The Java plugin's bundledPlugin entry goes; Gradle's stays for compiling CompilerGradle.kt.
PluginManifestTest requires the remaining dependencies (platform, TextMate, LSP4IJ, the test runner) and checks that
Gradle's is optional with its config file, so a required dependency on either plugin fails it, as on master.

Validated: :lang:intellij-plugin:test (57 classes, 243 tests, 0 failures, fresh XML); integrationTest and
playbookProbe compile; buildPlugin, verifyPluginInternalApis; verifyPlugin "Compatible" against IU-263.7307.353, and,
before the verification went back to IntelliJ IDEA alone, against PY-263.7307.351 too (so intellij.testRunner.plugin is
in PyCharm, and stays required); no compiler warnings; spotless; detekt reports nothing beyond its baseline.
lagergren added a commit that referenced this pull request Nov 29, 2026
…h the test runner among them

#810 added PluginManifestTest's requiresOnlyPluginsOfEveryIde to master, which checks the same as this branch's
communityDependencies; the rebase onto it kept this branch's test. It now has master's name, description and
comment, so that the branch differs from master there only in the list: it also requires intellij.testRunner.plugin,
which master's plugin doesn't use.

Validated: PluginManifestTest passes; :lang:intellij-plugin:spotlessCheck passes.
lagergren added a commit that referenced this pull request Nov 29, 2026
…dependency, and Gradle only where the IDE has it

plugin.xml required com.intellij.modules.java and com.intellij.gradle, so the Marketplace offers the plugin only for
IntelliJ IDEA, Android Studio and MPS (master's #810 drops them there, where nothing used them). Here the plugin uses
the Gradle plugin in three places and the Java plugin in one, so:
- Gradle is an optional dependency whose xtc-gradle.xml registers what needs it, in CompilerGradle.kt: the roots of
  the Gradle builds IntelliJ imported (GradleBuildRoots), the model published again after an unlink
  (GradleBuildUnlinks, out of CompilerBuildUpdates) and after a sync (CompilerGradleSync). The rest of the plugin
  reaches linked builds' roots through its own extension point, buildRoots; without Gradle only the project's own
  directory is one, and the embedded compiler builds.
- XtcProjectTaskRunner finds Java's file type by name, not through the Java plugin's JavaFileType: without the Java
  plugin, as in PyCharm, no file is Java, so no module is left to a Java builder.
- The Java plugin's bundledPlugin entry goes; Gradle's stays for compiling CompilerGradle.kt.
PluginManifestTest requires the remaining dependencies (platform, TextMate, LSP4IJ, the test runner) and checks that
Gradle's is optional with its config file, so a required dependency on either plugin fails it, as on master.

Validated: :lang:intellij-plugin:test (57 classes, 243 tests, 0 failures, fresh XML); integrationTest and
playbookProbe compile; buildPlugin, verifyPluginInternalApis; verifyPlugin "Compatible" against IU-263.7307.353, and,
before the verification went back to IntelliJ IDEA alone, against PY-263.7307.351 too (so intellij.testRunner.plugin is
in PyCharm, and stays required); no compiler warnings; spotless; detekt reports nothing beyond its baseline.
lagergren added a commit that referenced this pull request Nov 29, 2026
…h the test runner among them

#810 added PluginManifestTest's requiresOnlyPluginsOfEveryIde to master, which checks the same as this branch's
communityDependencies; the rebase onto it kept this branch's test. It now has master's name, description and
comment, so that the branch differs from master there only in the list: it also requires intellij.testRunner.plugin,
which master's plugin doesn't use.

Validated: PluginManifestTest passes; :lang:intellij-plugin:spotlessCheck passes.
lagergren added a commit that referenced this pull request Nov 30, 2026
…dependency, and Gradle only where the IDE has it

plugin.xml required com.intellij.modules.java and com.intellij.gradle, so the Marketplace offers the plugin only for
IntelliJ IDEA, Android Studio and MPS (master's #810 drops them there, where nothing used them). Here the plugin uses
the Gradle plugin in three places and the Java plugin in one, so:
- Gradle is an optional dependency whose xtc-gradle.xml registers what needs it, in CompilerGradle.kt: the roots of
  the Gradle builds IntelliJ imported (GradleBuildRoots), the model published again after an unlink
  (GradleBuildUnlinks, out of CompilerBuildUpdates) and after a sync (CompilerGradleSync). The rest of the plugin
  reaches linked builds' roots through its own extension point, buildRoots; without Gradle only the project's own
  directory is one, and the embedded compiler builds.
- XtcProjectTaskRunner finds Java's file type by name, not through the Java plugin's JavaFileType: without the Java
  plugin, as in PyCharm, no file is Java, so no module is left to a Java builder.
- The Java plugin's bundledPlugin entry goes; Gradle's stays for compiling CompilerGradle.kt.
PluginManifestTest requires the remaining dependencies (platform, TextMate, LSP4IJ, the test runner) and checks that
Gradle's is optional with its config file, so a required dependency on either plugin fails it, as on master.

Validated: :lang:intellij-plugin:test (57 classes, 243 tests, 0 failures, fresh XML); integrationTest and
playbookProbe compile; buildPlugin, verifyPluginInternalApis; verifyPlugin "Compatible" against IU-263.7307.353, and,
before the verification went back to IntelliJ IDEA alone, against PY-263.7307.351 too (so intellij.testRunner.plugin is
in PyCharm, and stays required); no compiler warnings; spotless; detekt reports nothing beyond its baseline.
lagergren added a commit that referenced this pull request Nov 30, 2026
…h the test runner among them

#810 added PluginManifestTest's requiresOnlyPluginsOfEveryIde to master, which checks the same as this branch's
communityDependencies; the rebase onto it kept this branch's test. It now has master's name, description and
comment, so that the branch differs from master there only in the list: it also requires intellij.testRunner.plugin,
which master's plugin doesn't use.

Validated: PluginManifestTest passes; :lang:intellij-plugin:spotlessCheck passes.
lagergren added a commit that referenced this pull request Nov 30, 2026
…dependency, and Gradle only where the IDE has it

plugin.xml required com.intellij.modules.java and com.intellij.gradle, so the Marketplace offers the plugin only for
IntelliJ IDEA, Android Studio and MPS (master's #810 drops them there, where nothing used them). Here the plugin uses
the Gradle plugin in three places and the Java plugin in one, so:
- Gradle is an optional dependency whose xtc-gradle.xml registers what needs it, in CompilerGradle.kt: the roots of
  the Gradle builds IntelliJ imported (GradleBuildRoots), the model published again after an unlink
  (GradleBuildUnlinks, out of CompilerBuildUpdates) and after a sync (CompilerGradleSync). The rest of the plugin
  reaches linked builds' roots through its own extension point, buildRoots; without Gradle only the project's own
  directory is one, and the embedded compiler builds.
- XtcProjectTaskRunner finds Java's file type by name, not through the Java plugin's JavaFileType: without the Java
  plugin, as in PyCharm, no file is Java, so no module is left to a Java builder.
- The Java plugin's bundledPlugin entry goes; Gradle's stays for compiling CompilerGradle.kt.
PluginManifestTest requires the remaining dependencies (platform, TextMate, LSP4IJ, the test runner) and checks that
Gradle's is optional with its config file, so a required dependency on either plugin fails it, as on master.

Validated: :lang:intellij-plugin:test (57 classes, 243 tests, 0 failures, fresh XML); integrationTest and
playbookProbe compile; buildPlugin, verifyPluginInternalApis; verifyPlugin "Compatible" against IU-263.7307.353, and,
before the verification went back to IntelliJ IDEA alone, against PY-263.7307.351 too (so intellij.testRunner.plugin is
in PyCharm, and stays required); no compiler warnings; spotless; detekt reports nothing beyond its baseline.
lagergren added a commit that referenced this pull request Nov 30, 2026
…h the test runner among them

#810 added PluginManifestTest's requiresOnlyPluginsOfEveryIde to master, which checks the same as this branch's
communityDependencies; the rebase onto it kept this branch's test. It now has master's name, description and
comment, so that the branch differs from master there only in the list: it also requires intellij.testRunner.plugin,
which master's plugin doesn't use.

Validated: PluginManifestTest passes; :lang:intellij-plugin:spotlessCheck passes.
lagergren added a commit that referenced this pull request Dec 1, 2026
…dependency, and Gradle only where the IDE has it

plugin.xml required com.intellij.modules.java and com.intellij.gradle, so the Marketplace offers the plugin only for
IntelliJ IDEA, Android Studio and MPS (master's #810 drops them there, where nothing used them). Here the plugin uses
the Gradle plugin in three places and the Java plugin in one, so:
- Gradle is an optional dependency whose xtc-gradle.xml registers what needs it, in CompilerGradle.kt: the roots of
  the Gradle builds IntelliJ imported (GradleBuildRoots), the model published again after an unlink
  (GradleBuildUnlinks, out of CompilerBuildUpdates) and after a sync (CompilerGradleSync). The rest of the plugin
  reaches linked builds' roots through its own extension point, buildRoots; without Gradle only the project's own
  directory is one, and the embedded compiler builds.
- XtcProjectTaskRunner finds Java's file type by name, not through the Java plugin's JavaFileType: without the Java
  plugin, as in PyCharm, no file is Java, so no module is left to a Java builder.
- The Java plugin's bundledPlugin entry goes; Gradle's stays for compiling CompilerGradle.kt.
PluginManifestTest requires the remaining dependencies (platform, TextMate, LSP4IJ, the test runner) and checks that
Gradle's is optional with its config file, so a required dependency on either plugin fails it, as on master.

Validated: :lang:intellij-plugin:test (57 classes, 243 tests, 0 failures, fresh XML); integrationTest and
playbookProbe compile; buildPlugin, verifyPluginInternalApis; verifyPlugin "Compatible" against IU-263.7307.353, and,
before the verification went back to IntelliJ IDEA alone, against PY-263.7307.351 too (so intellij.testRunner.plugin is
in PyCharm, and stays required); no compiler warnings; spotless; detekt reports nothing beyond its baseline.
lagergren added a commit that referenced this pull request Dec 1, 2026
…h the test runner among them

#810 added PluginManifestTest's requiresOnlyPluginsOfEveryIde to master, which checks the same as this branch's
communityDependencies; the rebase onto it kept this branch's test. It now has master's name, description and
comment, so that the branch differs from master there only in the list: it also requires intellij.testRunner.plugin,
which master's plugin doesn't use.

Validated: PluginManifestTest passes; :lang:intellij-plugin:spotlessCheck passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants