Skip to content

Commit

Permalink
fix-issue#1
Browse files Browse the repository at this point in the history
  • Loading branch information
typ0520 committed Jul 24, 2019
1 parent 3f17094 commit 7dde965
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Hi, Welcome! This is a plugin to generate Dart `model class` from JSON string, i

### Overview

This is a very cool tool for Flutter developers, it can convert a JSON string to Dart `model class`. The tool could not only recognize the primitive types but also auto create complex types. It's easily accessible, we provide shortcut keymap `ALT + K` for Windows and `Option + K` for Mac, have a try and you'll fall in love with it! JsonToDartClass just makes programming more enjoyable, enjoy coding!
This is a very cool tool for Flutter developers, it can convert a JSON string to Dart `model class`. The tool could not only recognize the primitive types but also auto create complex types. It's easily accessible, we provide shortcut keymap `ALT + L` for Windows and `Option + L` for Mac, have a try and you'll fall in love with it! JsonToDartClass just makes programming more enjoyable, enjoy coding!

### Easy Use
![alt text](https://plugins.jetbrains.com/files/12737/screenshot_20027.png)
Expand All @@ -24,7 +24,7 @@ This is a very cool tool for Flutter developers, it can convert a JSON string to
* Restart your IDE

* Press `ALT + K` for Windows or `Option + K` for Mac or right click on package -> `New`->`Dart class file from JSON` and continue as guided.
* Press `ALT + L` for Windows or `Option + L` for Mac or right click on package -> `New`->`Dart class file from JSON` and continue as guided.

### Advanced usage
Have a try with the advanced dialog :stuck_out_tongue_winking_eye:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ apply plugin: 'kotlin'
apply plugin: 'org.jetbrains.intellij'

group 'com.github.typ0520'
version '1.0.6'
version '1.0.8'

intellij {
version '2017.1'
Expand Down
1 change: 0 additions & 1 deletion src/main/kotlin/wu/seal/jsontodart/utils/LogUtil.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ object LogUtil {
} else {
LoggerRt.getInstance(PLUGIN_NAME).info(info)
}
File("/Users/tong/Desktop/idea.txt").appendText(info + "\n")
}

fun w(warning: String) {
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<description><![CDATA[
<br>Plugin for Dart to convert Json String into Dart data class code quickly</br>
<br> Fast use it with short cut key ALT + K on Windows or Option + K on Mac</br>
<br> Fast use it with short cut key ALT + L on Windows or Option + L on Mac</br>
<b><br>Features:</br></b>
Expand Down Expand Up @@ -63,7 +63,7 @@
text="Dart classes from JSON"
description="convert a json string data into Dart class code">
<add-to-group group-id="GenerateGroup" anchor="last"/>
<keyboard-shortcut keymap="$default" first-keystroke="alt k"/>
<keyboard-shortcut keymap="$default" first-keystroke="alt l"/>
</action>

<action id="com.github.typ0520.jsontodart.GenerateKotlinFileAction"
Expand Down

0 comments on commit 7dde965

Please sign in to comment.