Skip to content

Commit 402e7d8

Browse files
authored
合并拉取请求 #58
5.0.0
2 parents ce80009 + 247c7ae commit 402e7d8

27 files changed

Lines changed: 440 additions & 162 deletions

.idea/dictionaries/ldd.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 108 additions & 86 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
kotlin version: 2.0.21
2+
error message: The daemon has terminated unexpectedly on startup attempt #1 with error code: 0. The daemon process output:
3+
1. Kotlin compile daemon is ready
4+

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,19 @@
22

33
## Unreleased
44

5-
## [4.9.9] - 2024-10-17
5+
## [5.0.0] - 2024-10-22
6+
7+
- Fix: dio api copy data to image action if null will null exception
8+
- Fix: If the flutter command does not exist, an error pop-up will
9+
appear,[(#56)](https://github.com/mdddj/dd_flutter_idea_plugin/issues/56)
10+
- Fix: Fixed the issue of method font misalignment in the Dio api in zoom mode
11+
- New: Set the JSON editor and Dart editor to follow the idea for scaling
12+
- New: Optimize JSON viewer format
13+
- New: Add the function of returning the request body header from the right-click menu of `Dio`
14+
- New: Open the flutter (android,ios,macos) directory and add settings options, (ide setting->flutterx)
15+
- New: Add local asset preview to the editor (image type)
16+
17+
### [4.9.9] - 2024-10-17
618

719
- Fix: `flutter_lint: 5.0` `part of` auto-completion action not show
820
- Fix: `pubspec.yaml` left icon menu `open directory` not working bug

gradle.properties

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,11 @@
11
kotlin.stdlib.default.dependency=false
2-
pluginVersion=4.9.9.
3-
#===============================> 231
4-
#dartVersion=231.9411
5-
#sinceBuildVersion=231
6-
#untilBuildVersion=231.*
7-
#ideaVersion=2023.1.5
8-
#ideaType=
9-
#type=231
10-
#===============================> 232
11-
#dartVersion=232.10313
12-
#sinceBuildVersion=232
13-
#untilBuildVersion=232.*
14-
#ideaVersion=2023.2.3
15-
#ideaType=
16-
#type=232
17-
#===============================> 233
18-
#dartVersion=233.11799.172
19-
#sinceBuildVersion=233
20-
#untilBuildVersion=233.*
21-
#ideaVersion=2023.3
22-
#ideaType=
23-
#type=233
24-
#=============================================== 241 idea
2+
pluginVersion=5.0.0.
253
dartVersion=242.22855.32
264
sinceBuildVersion=242
275
untilBuildVersion=242.*
286
ideaVersion=2024.1
297
ideaType=
308
type=242
31-
#========================================242 idea
32-
#dartVersion=242.19533.43
33-
#sinceBuildVersion=242
34-
#untilBuildVersion=242.*
35-
#ideaVersion=242-EAP-SNAPSHOT
36-
#ideaType=
37-
#type=242
38-
# proxy
399
systemProp.http.proxyHost=127.0.0.1
4010
systemProp.http.proxyPort=7890
4111
systemProp.https.proxyHost=127.0.0.1

src/main/kotlin/shop/itbug/fluttercheckversionx/actions/DioWindowViewHeadersAction.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
package shop.itbug.fluttercheckversionx.actions
22

33
import com.intellij.openapi.actionSystem.ActionUpdateThread
4+
import com.intellij.openapi.actionSystem.AnAction
45
import com.intellij.openapi.actionSystem.AnActionEvent
5-
import shop.itbug.fluttercheckversionx.common.MyAction
66
import shop.itbug.fluttercheckversionx.dialog.SimpleJsonViewDialog
77
import shop.itbug.fluttercheckversionx.i18n.PluginBundle
88

99
/**
1010
* 查看请求头操作
1111
*/
12-
class DioWindowViewHeadersAction : MyAction(PluginBundle.getLazyMessage("view.request.headers")) {
12+
class DioWindowViewHeadersAction : AnAction() {
1313
override fun actionPerformed(e: AnActionEvent) {
1414
e.api()?.headers?.apply { SimpleJsonViewDialog.show(this, e.project!!) }
1515
}
1616

1717
override fun update(e: AnActionEvent) {
18-
e.presentation.isEnabled = e.project!=null && e.api()?.headers?.isNotEmpty() == true
18+
e.presentation.isEnabled = e.project != null && e.api()?.headers?.isNotEmpty() == true
19+
e.presentation.text = PluginBundle.get("view.request.headers")
1920
super.update(e)
2021
}
2122

0 commit comments

Comments
 (0)