Open JosiahFu opened 6 months ago
I have no clue why it wouldn't be working. VSCode only implements 1 custom feature, and that's the markdown_description
field.
That should just be ignored by Intellij
I think I can fix the markdown descriptions not being parsed issue though: #20
@JosiahFu FYI the schemas use JSON Schema version 7, so make sure you configure that as well. However, in my testing that doesn't seem to have fixed anything. But it for sure won't work on version 4.
Yep, neither version worked completely
I'm also unable to find any information online where others have encountered such an issue, so until I can find someone who knows JSON schemas in Intellij I'm stuck.
Alright, well thanks anyway for looking into it!
Describe the bug
I'm writing origins files alongside mod code, so I wanted to load the JSON schemas into IntelliJ IDEA. I tried adding the schemas as described in these jetbrains docs, but most things don't work properly. I don't know if this is an issue with the schemas, if VSCode just extends the schema definition, or if IntelliJ doesn't have full support for this, but could you check it out?
To Reproduce
https://raw.githubusercontent.com/SnaveSutit/origins-mod-json-schemas/main/schemas/apoli/power.json
for "Schema file or URL"**/data/*/powers/**.json
It should look like this:
Expected behavior
All descriptions and autocomplete should appear like in VSCode.
Screenshots
Descriptions not appearing
No label appearing on string values
Autocomplete/descriptions does work for universal properties at the top level (except
type
) and incondition
Keybindings seem to cause issues
Markdown does not apply - this is definitely not your fault though