In my program I have a part which is called Sales Orders, it has GUIs, DAOs, property files and more and more.
I somehow want to find out all these classes and create new same functionality classes from them with a different name.
Actually it is like renaming all of them. I am using IDEA IntelliJ, but I can use some other IDEs also.
What is the fastest way to do this?
In Eclipse, you can simply select the file(s), copy them and then paste (without selecting anything else).
Eclipse will then notice that the files already exist and offer you a dialog where you can enter new names.
Alternatively, you can copy the
.javafiles using your desktop (Explorer on Windows). IDEA will notice after a refresh and show a couple of errors (because the names of the files don’t match the class names). It should then offer you quick fixes to rename the new classes to match the file name.