FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
06-17-2024 11:51 AM
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.
06-18-2024 03:22 PM
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
06-18-2024 03:24 PM
Another hint: In your screenshot it looks like your schema has got the size of 0 Bytes. Maybe there is the problem.
06-18-2024 04:47 PM
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!