FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
a week ago
Hi everyone,
I would like to enable user to get auto complete while editing the json configuration file.
How can I do that? It looks like intelliJ is already running with some json schema.
Is there any way to upload json schema file that IntelliJ can use the schema for auto complete?
If it is possible to to set $schema using the addresses under "types" in datalayer?
I tried to add "$schema": "setting.schema.json" doens't work, since it is interpreted as inmemory://model/settings.schema.json
Solved! Go to Solution.
a week ago
Hi @cchang
I just tested it with our ctrlX Key Value Database app (which also has json files and schemas in the active configuration). And its possible to use auto-completion. See my screenshot:
The schema in this case is located in the folder "schema". I tested it with Version 2.6.
Best regards,
Nick
a week ago
Another hint: In your screenshot it looks like your schema has got the size of 0 Bytes. Maybe there is the problem.
a week ago
Hi nickH,
thanks for your reply. I found the problem.
After adding the content to schema, and the file must be closed and reopened. Then it works!