Hi all! Today we would like to show you brand new renaming feature for next NetBeans release.
Most of you definitely use common standard that every class is in its own file and the file name is the same as the class name. It means that if you have class
Foo it will surely be in a file named
Foo.php. But when you rename that class you surely want to rename its file as well. And NetBeans, finally, allows you to do that automatically :-) Just check one checkbox during refactoring process and that's all.
So here are some screenshots:
Type new name and check Rename Also File With the Declaration. checkbox.
Confirm refactoring and look at new file name :-)