Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Enhancement] Option to sort keys in JSON alphabetically #537

Open
Apollounknowndev opened this issue Jun 11, 2024 · 2 comments
Open

[Enhancement] Option to sort keys in JSON alphabetically #537

Apollounknowndev opened this issue Jun 11, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Apollounknowndev
Copy link
Contributor

Title mostly says it all. Vanilla sorts keys in the default json files alphabetically (excluding the type key which always comes first). It would be nice to have this sorting as an option, especially for when building off of vanilla files.

@Apollounknowndev Apollounknowndev changed the title [Enhancement] Sorting keys in JSON alphabetically [Enhancement] Option to sort keys in JSON alphabetically Jun 11, 2024
@misode misode added the enhancement New feature or request label Jun 11, 2024
@misode
Copy link
Owner

misode commented Jun 14, 2024

Would you want this as an option for the JSON output or for the editor view?

@Apollounknowndev
Copy link
Contributor Author

Would you want this as an option for the JSON output or for the editor view?

Both would be awesome but since it'd be useful mainly for consistency with files that haven't gone through the generator, just having it as the output would be enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants