hiranthaR / Json-to-Dart-Model

Json to Dart Model extension can convert JSON objects into Dart data classes. It supports pure Dart class conversion, Flutter-recommended JSON serialization using annotations, Freezed support, Effective Dart:Style, and many more features. Currently, it has more than 135,000 installs.
https://marketplace.visualstudio.com/items?itemName=hirantha.json-to-dart
MIT License
93 stars 17 forks source link

[BUG] Not creating models #73

Closed 01FC closed 3 years ago

01FC commented 3 years ago

Is there an existing issue for this?

Current Behavior

Trying to create models from clipboard

Ctrl+shift+p (open command pallete) search for JSON to Dart from clipboard enter the required data (classes name, etc)

And nothing happens

Expected Behavior

Trying to create models from clipboard

Ctrl+shift+p (open command pallete) search for JSON to Dart from clipboard enter the required data (classes name, etc)

The models are created in the folder. (like it used to be before)

Steps To Reproduce

Ctrl+shift+p (open command pallete) search for JSON to Dart from clipboard enter the required data (classes name, etc)

Version

3.5.1

Relevant JSON syntax

{
"user":"usuario",
"number":"123",
"others":{"color":"yes","enabled":true}
}

Anything else?

No response

iamarnas commented 3 years ago

@01FC Hi 👋

Thank you for your report. This is a known problem for windows and I hope I have fixed this in the latest version, but am waiting for @hiranthaR when he will update it. For now you can convert from the file until new release.

01FC commented 3 years ago

downgraded to 3.41 until the issue is fixed. Thanks

iamarnas commented 2 years ago

@01FC Hi 👋

Can you test latest 3.5.3 version to see if no issues?