Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ val ideaType: String by project
val pluginVersion: String by project

plugins {
id("org.jetbrains.kotlin.jvm") version "1.9.0-RC"
id("org.jetbrains.kotlin.jvm") version "1.9.20"
id("org.jetbrains.intellij") version "1.16.0"
id("org.jetbrains.kotlin.plugin.serialization") version "1.9.20-RC"
idea
}
group = "shop.itbug"
version = pluginVersion

repositories {
mavenLocal()
mavenCentral()
google()
maven { url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev") }
Expand Down Expand Up @@ -57,7 +59,6 @@ dependencies {
implementation("com.alibaba.fastjson2:fastjson2:latest.release")
implementation("com.alibaba.fastjson2:fastjson2-kotlin:latest.release")
implementation("com.google.code.gson:gson:latest.release")
implementation("org.xerial:sqlite-jdbc:latest.release")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:latest.release")
}

Expand All @@ -82,6 +83,20 @@ tasks {
untilBuild.set(untilBuildVersion)
changeNotes.set(
"""
<div>
<h1>3.8.4.Iguana</h1>
<ul>
<li>Add the ability to set default values (freezed)</li>
</ul>
</div>
<div>
<h1>3.8.3</h1>
<ul>
<li>Removed the context menu: "Covert to By Flutterx", which didn't help much</li>
<li>Removed the "Favorite Plugins" tool window and its related functions.</li>
<li>Fix the problem that "SP" can not be displayed</li>
</ul>
</div>
<div>
<h1>3.8.0</h1>
<ul>
Expand Down
37 changes: 22 additions & 15 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
kotlin.stdlib.default.dependency=true
kotlin.incremental.useClasspathSnapshot=false
kotlin.experimental.tryK2=true
pluginVersion=3.8.0
# AS release version : https://plugins.jetbrains.com/docs/intellij/android-studio-releases-list.html
dartVersion=223.8950
flutterVersion=75.1.2
kapt.use.k2=true
pluginVersion=3.8.4.iguana
#===============================> 223 AS release version : https://plugins.jetbrains.com/docs/intellij/android-studio-releases-list.html
#===============================> 正式版本最新 Giraffe
dartVersion=223.8977
flutterVersion=76.3.2
sinceBuildVersion=223
untilBuildVersion=223.*
ideaVersion=2022.3.1.18
ideaType=AI
# AS Canary version : https://plugins.jetbrains.com/docs/intellij/android-studio-releases-list.html
#dartVersion=232.9559.10
#flutterVersion=75.1.4
#sinceBuildVersion=232
#untilBuildVersion=232.*
#ideaVersion=2023.2.1.7
#===============================> 231 AS Hedgehog version : https://plugins.jetbrains.com/docs/intellij/android-studio-releases-list.html
#dartVersion=231.9402
#flutterVersion=76.3.3
#sinceBuildVersion=231
#untilBuildVersion=231.*
#ideaVersion=2023.1.1.24
#ideaType=AI
# idea eap
#dartVersion=232.9559.10
#flutterVersion=75.1.4
#===============================> 232 AS iguana
#dartVersion=232.10248
#flutterVersion=76.3.4
#sinceBuildVersion=232
#untilBuildVersion=232.*
#ideaVersion=LATEST-EAP-SNAPSHOT
#ideaType=IC
#ideaVersion=2023.2.1.11
#ideaType=AI
#===============================================
systemProp.http.proxyHost=127.0.0.1
systemProp.http.proxyPort=7890
systemProp.https.proxyHost=127.0.0.1
systemProp.https.proxyPort=7890
11 changes: 11 additions & 0 deletions rebel.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
This is the JRebel configuration file. It maps the running application to your IDE workspace, enabling JRebel reloading for this project.
Refer to https://manuals.jrebel.com/jrebel/standalone/config.html for more information.
-->
<application generated-by="intellij" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemaLocation="http://www.zeroturnaround.com http://update.zeroturnaround.com/jrebel/rebel-2_3.xsd">

<id>dd_flutter_idea_plugin</id>

</application>
4 changes: 2 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rootProject.name = "FlutterCheckVersionX"
rootProject.name = "FlutterX"
pluginManagement {
repositories {
maven ("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://oss.sonatype.org/content/repositories/snapshots/")
gradlePluginPortal()
}
}
133 changes: 0 additions & 133 deletions src/main/kotlin/note/jdbc/FlutterCollectService.kt

This file was deleted.

92 changes: 0 additions & 92 deletions src/main/kotlin/note/jdbc/SqliteConnect.kt

This file was deleted.

31 changes: 0 additions & 31 deletions src/main/kotlin/note/setting/InitFlutterPluginSettingDialog.kt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import com.intellij.psi.util.PsiTreeUtil
import com.jetbrains.lang.dart.psi.impl.*
import shop.itbug.fluttercheckversionx.common.MyAction
import shop.itbug.fluttercheckversionx.dialog.FreezedCovertDialog
import shop.itbug.fluttercheckversionx.i18n.PluginBundle
import shop.itbug.fluttercheckversionx.model.DartClassProperty
import shop.itbug.fluttercheckversionx.model.FreezedCovertModel
import shop.itbug.fluttercheckversionx.util.firstChatToUpper
Expand Down Expand Up @@ -69,6 +70,7 @@ class FunctionParamsToFreezed : MyAction() {

override fun update(e: AnActionEvent) {
e.presentation.isEnabled = e.selectTextIsDartMethodElement()
e.presentation.text = PluginBundle.get("editor.freezed.fun.param.to.class")
super.update(e)
}

Expand Down
Loading