diff --git a/build.gradle.kts b/build.gradle.kts index f5de483..867b12b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,13 +4,16 @@ import kotlin.io.path.name plugins { id("java") - id("org.jetbrains.kotlin.jvm") version "1.9.0" - id("org.jetbrains.intellij") version "1.15.0" + id("org.jetbrains.kotlin.jvm") version "1.9.21" + id("org.jetbrains.intellij") version "1.16.1" } group = "dev.huyaro.gen" -version = "0.2.3" +version = "0.2.4" +repositories { + mavenCentral() +} // Configure Gradle IntelliJ Plugin // Read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html @@ -55,7 +58,7 @@ tasks { patchPluginXml { sinceBuild.set("231") - untilBuild.set("233.*") + untilBuild.set("241.*") } signPlugin { diff --git a/src/main/kotlin/dev/huyaro/gen/ui/GeneratorDialog.kt b/src/main/kotlin/dev/huyaro/gen/ui/GeneratorDialog.kt index 3a87d39..6bd08c5 100644 --- a/src/main/kotlin/dev/huyaro/gen/ui/GeneratorDialog.kt +++ b/src/main/kotlin/dev/huyaro/gen/ui/GeneratorDialog.kt @@ -123,8 +123,9 @@ class GeneratorDialog( .bindText(options::superClass) .align(AlignX.FILL) .resizableColumn() - .comment("Select the superclass of entity. e.g.: com.hello.entity.BaseEntity") - superCls.component.isEditable = false + .comment("Select or enter the superclass of entity") + // 避免外部包无法选择类, 让父类输入框可手动输入父类包名 + // superCls.component.isEditable = false button("Choose...") { val classChooserDialog = TreeJavaClassChooserDialog("Choose SuperClass...", project) diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index e2f8b1f..199709d 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -8,7 +8,7 @@ CodeGenX - CodeGenX + Huyaro