Skip to content

Commit c8fe2ec

Browse files
committed
Merge branch 'dev'
2 parents 24b8230 + 01b7997 commit c8fe2ec

File tree

7 files changed

+21
-30
lines changed

7 files changed

+21
-30
lines changed

CHANGELOG.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,26 @@
22

33
# FlutterJsonBeanFactory Changelog
44

5-
## Unreleased
65

7-
## 5.2.0 2024年08月12日
6+
## 5.2.2
7+
8+
### Changed
9+
10+
- double quotation marks are changed to single quotation marks
11+
12+
## 5.2.1
13+
14+
### Changed
15+
16+
- fix [issues/167](https://github.com/fluttercandies/FlutterJsonBeanFactory/issues/167)
17+
18+
19+
## 5.2.0
820

921
### Changed
1022

1123
- update gradle and kotlin
1224
- fix idea version low version problem
13-
- 这个bug修复了我在职的问题,目前已离职,希望大家能帮我推荐下工作,157418979@qq.com,感谢各位
1425

1526
## 5.1.7
1627

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
org.gradle.caching=true
44
pluginGroup = org.ruiyu
55
pluginName = FlutterJsonBeanFactory
6-
pluginVersion = 5.2.0
6+
pluginVersion = 5.2.2
77

88
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
99
# for insight into build numbers and IntelliJ Platform versions.
1010
pluginSinceBuild = 232
11-
pluginUntilBuild = 242.*
11+
pluginUntilBuild = 243.*
1212

1313
# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
1414
# See https://jb.gg/intellij-platform-builds-list for available build versions.

src/main/kotlin/com/github/zhangruiyu/flutterjsonbeanfactory/App.kt

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/main/kotlin/com/github/zhangruiyu/flutterjsonbeanfactory/action/jsontodart/ClassDefinition.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class ClassDefinition(private val name: String, private val privateFields: Boole
8686
//如果驼峰命名后不一致,才这样
8787
if (fieldName != key) {
8888
sb.append('\t')
89-
sb.append("@JSONField(name: \"${key}\")\n")
89+
sb.append("@JSONField(name: \'${key}\')\n")
9090
}
9191
sb.append('\t')
9292
_addTypeDef(f, sb, prefix, suffix)

src/main/kotlin/com/github/zhangruiyu/flutterjsonbeanfactory/listeners/MyProjectManagerListener.kt

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/main/kotlin/com/github/zhangruiyu/flutterjsonbeanfactory/workers/Initializer.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import com.intellij.openapi.project.Project
88
import com.intellij.openapi.startup.StartupActivity
99
import com.intellij.psi.PsiDocumentManager
1010
import com.intellij.psi.PsiElement
11-
import com.github.zhangruiyu.flutterjsonbeanfactory.App
1211
import java.util.regex.Pattern
1312

1413

src/main/resources/META-INF/plugin.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
<extensions defaultExtensionNs="com.intellij">
5555
<notificationGroup id="flutterJsonNotification" displayType="BALLOON"/>
5656
</extensions>
57-
<applicationListeners>
58-
<listener class="com.github.zhangruiyu.flutterjsonbeanfactory.listeners.MyProjectManagerListener"
59-
topic="com.intellij.openapi.project.ProjectManagerListener"/>
60-
</applicationListeners>
57+
<!-- <applicationListeners>-->
58+
<!-- <listener class="com.github.zhangruiyu.flutterjsonbeanfactory.listeners.MyProjectManagerListener"-->
59+
<!-- topic="com.intellij.openapi.project.ProjectManagerListener"/>-->
60+
<!-- </applicationListeners>-->
6161
</idea-plugin>

0 commit comments

Comments
 (0)