Skip to content
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

Add Mixins to New > context menu #2295

Open
supersaiyansubtlety opened this issue May 15, 2024 · 0 comments
Open

Add Mixins to New > context menu #2295

supersaiyansubtlety opened this issue May 15, 2024 · 0 comments
Labels
platform: mixins status: accepted This is a high-priority feature or a reproduced bug type: enhancement

Comments

@supersaiyansubtlety
Copy link

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 Class item similar to Generate Accessor/Invoker
  • a Mixin Class item
    • prompts for target class(es) to put in a @Mixin annotation
    • prompts (with checkbox) to extend+implement what 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 abstract class (I think those are the best defaults)
    • adds the new class to the mixins.json
@RedNesto RedNesto added status: accepted This is a high-priority feature or a reproduced bug platform: mixins and removed status: unverified Needs triage labels Dec 14, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
platform: mixins status: accepted This is a high-priority feature or a reproduced bug type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants