nus-cs2103-AY2021S2 / forum

10 stars 0 forks source link

💡 How to change constructors fast #372

Open yhtMinceraft1010X opened 3 years ago

yhtMinceraft1010X commented 3 years ago

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.