From 02f8464075337dc4cad0c648bf50f15d9ac4fa21 Mon Sep 17 00:00:00 2001 From: tangzx Date: Sun, 10 Nov 2024 19:47:14 +0800 Subject: [PATCH] build for 243 --- build.gradle.kts | 17 +++-------------- .../lua/debugger/app/LuaAppSettingsEditor.java | 14 +++++++++----- src/main/resources/META-INF/plugin.xml | 4 ++++ 3 files changed, 16 insertions(+), 19 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 16f358a6d..065e5c0d4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -41,21 +41,10 @@ data class BuildData( val buildDataList = listOf( BuildData( - ideaSDKShortVersion = "242", - ideaSDKVersion = "242-EAP-SNAPSHOT", + ideaSDKShortVersion = "243", + ideaSDKVersion = "243-EAP-SNAPSHOT", sinceBuild = "232", - untilBuild = "242.*", - bunch = "212", - targetCompatibilityLevel = JavaVersion.VERSION_17, - jvmTarget = "17" - ), - BuildData( - ideaSDKShortVersion = "231", - // 223.7571.123-EAP-SNAPSHOT - // LATEST-EAP-SNAPSHOT - ideaSDKVersion = "233.11799.6-EAP-SNAPSHOT", - sinceBuild = "232", - untilBuild = "233.*", + untilBuild = "243.*", bunch = "212", targetCompatibilityLevel = JavaVersion.VERSION_17, jvmTarget = "17" diff --git a/src/main/java/com/tang/intellij/lua/debugger/app/LuaAppSettingsEditor.java b/src/main/java/com/tang/intellij/lua/debugger/app/LuaAppSettingsEditor.java index 83cf380a1..f93c752c7 100644 --- a/src/main/java/com/tang/intellij/lua/debugger/app/LuaAppSettingsEditor.java +++ b/src/main/java/com/tang/intellij/lua/debugger/app/LuaAppSettingsEditor.java @@ -60,14 +60,18 @@ public class LuaAppSettingsEditor extends SettingsEditor private EnvironmentVariablesTextFieldWithBrowseButton myEnvironments; private ComboBox outputCharset; private JCheckBox showConsoleWindowCheckBox; - private Project project; + private final Project project; LuaAppSettingsEditor(Project project) { this.project = project; - FileChooserDescriptor descriptor = FileChooserDescriptorFactory.createSingleFileNoJarsDescriptor(); - myProgram.addBrowseFolderListener("Choose Program", "Choose program file", project, descriptor); - descriptor = FileChooserDescriptorFactory.createSingleFolderDescriptor(); - myWorkingDir.addBrowseFolderListener("Choose Working Dir", "Choose working dir", project, descriptor); + FileChooserDescriptor descriptor = FileChooserDescriptorFactory.createSingleFileNoJarsDescriptor() + .withTitle("Choose Program") + .withDescription("Choose program file"); + myProgram.addBrowseFolderListener(project, descriptor); + descriptor = FileChooserDescriptorFactory.createSingleFolderDescriptor() + .withTitle("Choose Working Dir") + .withDescription("Choose working dir"); + myWorkingDir.addBrowseFolderListener(project, descriptor); DebuggerType[] debuggerTypes = new DebuggerType[] { DebuggerType.Mob }; /*if (SystemInfoRt.isWindows) diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 58fd3d1fe..bf1f27e5a 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -69,6 +69,10 @@ ]]> 1.4.15 +
    +
  • [NEW] compatible with IDEA243
  • +
1.4.14
  • [NEW] compatible with IDEA242