MinecraftDev
MinecraftDev copied to clipboard
Add Mixins to `New >` context menu
Minecraft Development for IntelliJ plugin version
2024.1-1.7.5-477
Description of the feature request
It would be convenient if, when right clicking on a mixin package, the New > menu had options to create new mixin classes:
- an
Accessor/Invoker Classitem similar toGenerate Accessor/Invoker - a
Mixin Classitem- prompts for target class(es) to put in a
@Mixinannotation - prompts (with checkbox) to
extend+implementwhat the target class does (or in the case of multiple classes, whichever ancestors they have in common) - generates a dummy constructor if necessary
- generates a package-private
abstractclass (I think those are the best defaults) - adds the new class to the mixins.json
- prompts for target class(es) to put in a