Closed iqboladahamjonov closed 2 years ago
@iqboladahamjonov Hi 👋
I'm sorry it does not work for you. The error message say att your default directory is empty and not json
files detected, looks like you put your json
files to the wrong directory. Your should put your all json files to the generated folder ./json_models
or just use single file models.jsonc
. And run build command ctrl + shift + alt + B
{
"_path": "/lib/models" // This path means where data models will be generated otherwise to the default place from the settings.
}
In my tests it work as expected and closing it due to not answer from the user. Reopen it if problem is still.
Is there an existing issue for this?
Current Behavior
I am trying to build a dart model based on models.jsonc file from directory ztest, it unfortunately it won't build the file neither with hotkey ctrl + shift + alt + B, nor with command pallete build command. the error says "Nothing to generate from the tracked places". please guide me if I did something wrong.
my models.jsonc is simple as in the sample: