Skip to content

Add JSON schemas for Minecraft assets #1049

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
TheOnlyTails opened this issue Jul 30, 2021 · 3 comments
Open

Add JSON schemas for Minecraft assets #1049

TheOnlyTails opened this issue Jul 30, 2021 · 3 comments

Comments

@TheOnlyTails
Copy link

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)

@stale
Copy link

stale bot commented Jan 9, 2022

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.

@Mysterious-Dev
Copy link
Contributor

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

@stale stale bot removed the status: stale label Mar 15, 2023
@Mysterious-Dev
Copy link
Contributor

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants