MinecraftDev icon indicating copy to clipboard operation
MinecraftDev copied to clipboard

Add JSON schemas for Minecraft assets

Open TheOnlyTails opened this issue 4 years ago • 3 comments

The Problem

Writing JSON is hard and annoying, especially when you have no way to verify if you've entered the right fields. IntelliJ has no built-in way to automatically guess the structure of the JSON.

The Solution

JSON Schemas! They're another special JSON file that that once added to IntelliJ with a file/path pattern (to determine which files to apply it too), will add auto-completion of fields, warnings for invalid values, and more.

(If needed, I have some experience writing them so I can make the schemas myself)

TheOnlyTails avatar Jul 30 '21 21:07 TheOnlyTails

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 09 '22 00:01 stale[bot]

So, for me, adding JSON schemas in the plugin is useless, because Intellij Idea support the Schema Store API. My PR is closed because I prefers to add schema for the schemastore insteadof the plugin.

https://github.com/SchemaStore/schemastore

Mysterious-Dev avatar Mar 15 '23 10:03 Mysterious-Dev

I think we can keep this issue open for those who would like to open others on the same topic but in my opinion, adding a feature to the plugin for that is useless.

Mysterious-Dev avatar Mar 15 '23 10:03 Mysterious-Dev