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

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant