Winnipeg Photographer


How to rename a file in Netbeans IDE

As most of you know I use Netbeans IDE. While I love almost everything about it there was one thing I thought that wasn’t very intuitive with the GUI. That item was renaming files. When you right click the file you can “Copy”, “Paste” etc but no renaming of files is mentioned.

How to rename a file in Netbeans IDE 01

To rename a file you have to click on “properties”.

How to rename a file in Netbeans IDE 02

Notice that “name” and “extension are on different lines? Once done renaming click close. You’re done!

UPDATE! – It seems like you only need to do this for “HTML” and “CSS” files. When you right click “javascript” files with an extension of .js you can just click “rename”!! I wonder why they don’t have rename as an option with the first two items!?!?

How to rename a file in Netbeans IDE 03

*UPDATE* – I found an even easier way. Just hit “F2″!


Leave a Reply