Quantcast
Channel: Oracle Bloggers
Viewing all articles
Browse latest Browse all 19780

Improved Type Renaming

$
0
0

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:

Right click on the class name and invoke Refactor -> Rename....

Improved Type Renaming

Type new name and check Rename Also File With the Declaration. checkbox.

Improved Type Renaming

Confirm refactoring and look at new file name :-)

Improved Type Renaming

And that's all for today and as usual, please test it and if you find something strange, don't hesitate to file a new issue (product php, component Refactoring). Thanks a lot!


Viewing all articles
Browse latest Browse all 19780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>