From b867f461c379259e2401497e18d68bc73f909cae Mon Sep 17 00:00:00 2001 From: pytian Date: Wed, 5 Jun 2024 00:35:30 +0800 Subject: [PATCH] feat: add 2024.1 support, remove old IDE version java files Signed-off-by: pytian --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- ...host-intellij-plugin [buildPlugin].run.xml | 3 +- ...nocalhost-intellij-plugin [runIde].run.xml | 2 +- gradle-203.properties | 13 -- gradle-211.properties | 13 -- gradle-212.properties | 13 -- gradle-213.properties | 13 -- gradle-221.properties | 13 -- gradle-222.properties | 13 -- gradle-223.properties | 15 -- gradle-231.properties | 16 -- gradle-232.properties | 16 -- gradle-241.properties | 17 ++ gradle.properties | 4 +- .../intellij/exception/NocalhostNotifier.java | 144 ----------------- .../action/workload/OpenProjectExecutor.java | 14 -- .../intellij/ui/sync/NocalhostSyncPopup.java | 49 ------ .../plugin/intellij/utils/FileChooseUtil.java | 94 ----------- .../intellij/exception/NocalhostNotifier.java | 144 ----------------- .../action/workload/OpenProjectExecutor.java | 14 -- .../intellij/ui/sync/NocalhostSyncPopup.java | 50 ------ .../plugin/intellij/utils/FileChooseUtil.java | 94 ----------- .../intellij/exception/NocalhostNotifier.java | 149 ------------------ .../action/workload/OpenProjectExecutor.java | 14 -- .../intellij/ui/sync/NocalhostSyncPopup.java | 54 ------- .../plugin/intellij/utils/FileChooseUtil.java | 86 ---------- .../intellij/exception/NocalhostNotifier.java | 149 ------------------ .../action/workload/OpenProjectExecutor.java | 14 -- .../intellij/ui/sync/NocalhostSyncPopup.java | 54 ------- .../plugin/intellij/utils/FileChooseUtil.java | 86 ---------- .../action/workload/OpenProjectExecutor.java | 14 -- .../intellij/ui/sync/NocalhostSyncPopup.java | 54 ------- .../plugin/intellij/utils/FileChooseUtil.java | 86 ---------- .../intellij/exception/NocalhostNotifier.java | 149 ------------------ .../action/workload/OpenProjectExecutor.java | 14 -- .../intellij/ui/sync/NocalhostSyncPopup.java | 54 ------- .../plugin/intellij/utils/FileChooseUtil.java | 86 ---------- .../intellij/exception/NocalhostNotifier.java | 149 ------------------ .../action/workload/OpenProjectExecutor.java | 17 -- .../intellij/ui/sync/NocalhostSyncPopup.java | 54 ------- .../plugin/intellij/utils/FileChooseUtil.java | 86 ---------- .../intellij/exception/NocalhostNotifier.java | 149 ------------------ .../intellij/exception/NocalhostNotifier.java | 149 ------------------ .../action/workload/OpenProjectExecutor.java | 17 -- .../intellij/ui/sync/NocalhostSyncPopup.java | 54 ------- .../plugin/intellij/utils/FileChooseUtil.java | 84 ---------- .../intellij/exception/NocalhostNotifier.java | 149 ------------------ .../action/workload/OpenProjectExecutor.java | 17 -- .../intellij/ui/sync/NocalhostSyncPopup.java | 54 ------- .../plugin/intellij/utils/FileChooseUtil.java | 0 .../python/NocalhostPythonConfiguration.java | 2 +- .../python/NocalhostPythonDebugRunner.java | 2 +- .../NocalhostPythonDevProcessHandler.java | 2 +- .../python/NocalhostPythonProfileState.java | 2 +- .../python/XDebugProcessStarterImpl.java | 2 +- .../intellij/exception/NocalhostNotifier.java | 0 .../action/workload/OpenProjectExecutor.java | 0 .../intellij/ui/sync/NocalhostSyncPopup.java | 0 59 files changed, 29 insertions(+), 2781 deletions(-) delete mode 100644 gradle-203.properties delete mode 100644 gradle-211.properties delete mode 100644 gradle-212.properties delete mode 100644 gradle-213.properties delete mode 100644 gradle-221.properties delete mode 100644 gradle-222.properties delete mode 100644 gradle-223.properties delete mode 100644 gradle-231.properties delete mode 100644 gradle-232.properties create mode 100644 gradle-241.properties delete mode 100644 src/203/main/java/dev/nocalhost/plugin/intellij/exception/NocalhostNotifier.java delete mode 100644 src/203/main/java/dev/nocalhost/plugin/intellij/ui/action/workload/OpenProjectExecutor.java delete mode 100644 src/203/main/java/dev/nocalhost/plugin/intellij/ui/sync/NocalhostSyncPopup.java delete mode 100644 src/203/main/java/dev/nocalhost/plugin/intellij/utils/FileChooseUtil.java delete mode 100644 src/211/main/java/dev/nocalhost/plugin/intellij/exception/NocalhostNotifier.java delete mode 100644 src/211/main/java/dev/nocalhost/plugin/intellij/ui/action/workload/OpenProjectExecutor.java delete mode 100644 src/211/main/java/dev/nocalhost/plugin/intellij/ui/sync/NocalhostSyncPopup.java delete mode 100644 src/211/main/java/dev/nocalhost/plugin/intellij/utils/FileChooseUtil.java delete mode 100644 src/212/main/java/dev/nocalhost/plugin/intellij/exception/NocalhostNotifier.java delete mode 100644 src/212/main/java/dev/nocalhost/plugin/intellij/ui/action/workload/OpenProjectExecutor.java delete mode 100644 src/212/main/java/dev/nocalhost/plugin/intellij/ui/sync/NocalhostSyncPopup.java delete mode 100644 src/212/main/java/dev/nocalhost/plugin/intellij/utils/FileChooseUtil.java delete mode 100644 src/213/main/java/dev/nocalhost/plugin/intellij/exception/NocalhostNotifier.java delete mode 100644 src/213/main/java/dev/nocalhost/plugin/intellij/ui/action/workload/OpenProjectExecutor.java delete mode 100644 src/213/main/java/dev/nocalhost/plugin/intellij/ui/sync/NocalhostSyncPopup.java delete mode 100644 src/213/main/java/dev/nocalhost/plugin/intellij/utils/FileChooseUtil.java delete mode 100644 src/221/main/java/dev/nocalhost/plugin/intellij/ui/action/workload/OpenProjectExecutor.java delete mode 100644 src/221/main/java/dev/nocalhost/plugin/intellij/ui/sync/NocalhostSyncPopup.java delete mode 100644 src/221/main/java/dev/nocalhost/plugin/intellij/utils/FileChooseUtil.java delete mode 100644 src/222/main/java/dev/nocalhost/plugin/intellij/exception/NocalhostNotifier.java delete mode 100644 src/222/main/java/dev/nocalhost/plugin/intellij/ui/action/workload/OpenProjectExecutor.java delete mode 100644 src/222/main/java/dev/nocalhost/plugin/intellij/ui/sync/NocalhostSyncPopup.java delete mode 100644 src/222/main/java/dev/nocalhost/plugin/intellij/utils/FileChooseUtil.java delete mode 100644 src/223/main/java/dev/nocalhost/plugin/intellij/exception/NocalhostNotifier.java delete mode 100644 src/223/main/java/dev/nocalhost/plugin/intellij/ui/action/workload/OpenProjectExecutor.java delete mode 100644 src/223/main/java/dev/nocalhost/plugin/intellij/ui/sync/NocalhostSyncPopup.java delete mode 100644 src/223/main/java/dev/nocalhost/plugin/intellij/utils/FileChooseUtil.java delete mode 100644 src/231/main/java/dev/nocalhost/plugin/intellij/exception/NocalhostNotifier.java delete mode 100644 src/232/main/java/dev/nocalhost/plugin/intellij/exception/NocalhostNotifier.java delete mode 100644 src/232/main/java/dev/nocalhost/plugin/intellij/ui/action/workload/OpenProjectExecutor.java delete mode 100644 src/232/main/java/dev/nocalhost/plugin/intellij/ui/sync/NocalhostSyncPopup.java delete mode 100644 src/232/main/java/dev/nocalhost/plugin/intellij/utils/FileChooseUtil.java delete mode 100644 src/233/main/java/dev/nocalhost/plugin/intellij/exception/NocalhostNotifier.java delete mode 100644 src/233/main/java/dev/nocalhost/plugin/intellij/ui/action/workload/OpenProjectExecutor.java delete mode 100644 src/233/main/java/dev/nocalhost/plugin/intellij/ui/sync/NocalhostSyncPopup.java rename src/{231 => 241}/main/java/dev/nocalhost/plugin/intellij/utils/FileChooseUtil.java (100%) rename src/{221 => }/main/java/dev/nocalhost/plugin/intellij/exception/NocalhostNotifier.java (100%) rename src/{231 => }/main/java/dev/nocalhost/plugin/intellij/ui/action/workload/OpenProjectExecutor.java (100%) rename src/{231 => }/main/java/dev/nocalhost/plugin/intellij/ui/sync/NocalhostSyncPopup.java (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7516caff..ccfa4827 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - platform-version: [ 203, 211, 212, 213, 221, 222, 223, 231, 232, 233 ] + platform-version: [ 233, 241 ] env: ORG_GRADLE_PROJECT_platformVersion: ${{ matrix.platform-version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3605276..406cf67d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: needs: create-release strategy: matrix: - platform-version: [ 203, 211, 212, 213, 221, 222, 223, 231, 232, 233 ] + platform-version: [ 233, 241 ] env: ORG_GRADLE_PROJECT_platformVersion: ${{ matrix.platform-version }} diff --git a/.run/nocalhost-intellij-plugin [buildPlugin].run.xml b/.run/nocalhost-intellij-plugin [buildPlugin].run.xml index 38bc68c0..1c693812 100644 --- a/.run/nocalhost-intellij-plugin [buildPlugin].run.xml +++ b/.run/nocalhost-intellij-plugin [buildPlugin].run.xml @@ -3,7 +3,7 @@