Closed ix0rai closed 1 year ago
Fabric API uses kebab-case
, so it will remain encouraged. Adding snake_case
opt-in seems reasonable though.
All of the fabric API modules use kebab case as well as mods such as fabric-language-kotlin
hence why the generator follows this. The old example mod uses modid
so doesnt provide a default stance on this.
However I do agree that adding an option to manually customise the modid is a good idea as it may not always want to be based of the name.
opt in would be great, maybe a little switch for kebab/snake case next to the id?
Maybe, I was more thinking of adding an edit
link to right of the modid, when clicked adds another full input to allow manually specifying the modid?
I like that idea, maybe with some validation so you can't press generate on something that doesn't follow snake or kebab case
hey! first off, the mod template generator is amazing, great work with it! I just have one little nitpick that is the generated mod id using
kebab-case
oversnake_case
. At Quilt we encouragesnake_case
, and it would be fantastic if Fabric could adopt this convention too.