feat: "Ignore Array" and "Item Key Formatting Style" options #38
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR introduces two new options, "Ignore Array" and "Item Key Formatting Style". These options are added to the "Additional Options" accordion in the user interface.
The motivation behind adding the new options
First, I love this tool; it's time-saving for generating Triton collections. While using this tool, I noticed that dealing with multi-line types of messages is a little bit inconvenient, especially when translating scoreboards, as scoreboards do not work the same way as messages.
Item key formatting, well, this is mainly personal preferences but since the generator output is following the message file's key, when the messages file have like:
Messages.INLOBBY.JOIN_MESSAGE
is a little bit inconvenient to read, when me much more prefer consistency wanting all the item key are lowercase. This option added the flexibility for that.I believe that these new options enhance the usability of the tool and offer users more control over the output. By providing these choices, users can customize the conversion process according to their specific needs.
Changes Made
"Ignore Array" option
"Item Key Formatting Style" option