Cannot find any menu item to do this. Is it doable?
Right-click the mouse on the class name and choose the following option from the context menu option: Refactor >> Rename… This will open a new window called Rename Compilation Unit. Alternatively, we can press the keyboard shortcut Alt + Shift + R.
Class files are compiled entities. You can't just edit them. You need to get the actual source used to compile the class files.
Just right click on the class in the project explorer and select "Refactor" -> "Rename". That it is is under the "Refactor" submenu.
Shift + Alt + r (Right click file -> Refactor -> Rename) when cursor is on class name. The file and constructors will be also changed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With