From 5ce632492d722745ef3e94c87bca9d80c6fd7035 Mon Sep 17 00:00:00 2001 From: RedNesto Date: Sun, 13 Aug 2023 20:45:44 +0200 Subject: [PATCH] Revert "Fix Find Mixins TW not showing up" This reverts commit 14b015e45adcd1297e341cb9d3e15a379265db97. For some reason Jetbrains hasn't backported a fix that's plaguing facet-dependent TWs on 2023.1 yet, so let's revert this commit for 2023.1 only --- src/main/kotlin/platform/mixin/action/FindMixinsAction.kt | 4 ++++ src/main/resources/META-INF/plugin.xml | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/kotlin/platform/mixin/action/FindMixinsAction.kt b/src/main/kotlin/platform/mixin/action/FindMixinsAction.kt index a36e708d5..ecbf4026e 100644 --- a/src/main/kotlin/platform/mixin/action/FindMixinsAction.kt +++ b/src/main/kotlin/platform/mixin/action/FindMixinsAction.kt @@ -52,6 +52,10 @@ class FindMixinsAction : AnAction() { class TWFactory : ToolWindowFactory { override fun createToolWindowContent(project: Project, toolWindow: ToolWindow) { } + + override fun shouldBeAvailable(project: Project): Boolean { + return false + } } companion object { diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 1891bd0b0..ae426d301 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -426,10 +426,8 @@ order="before javaSkipAutopopupInStrings"/> - +