Skip to content

πŸ’‘ How to change constructors fastΒ #372

@yhtMinceraft1010X

Description

@yhtMinceraft1010X

Not sure if this has been mentioned before, but here goes:

Step 1: Go to Refactor -> Change Signature
image

Step 2: Make the changes here:
image

You can drag and drop to reorder arguments, add and remove arguments and change visibility. The changes propagate to other instances of the constructor throughout the project.

May seem too late for our batch but could be helpful for future batches as well as personal coding projects.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions