Quick snippets to get you up to speed with the Yii PHP framework. By Neil McGuigan.
Pages
▼
Friday, March 11, 2011
How to change a file extension in NetBeans
I had a .html file that I wanted to change to .php, but NetBeans doesn't let you change the extension with the Rename or Refactor menu option.
To change the file extension in NetBeans, right-click the file and choose Properties. In the Properties window, under Extension, change the value, and hit Close.
When I follow your steps it works with all my HTML-Files except for the one i needed for, there is just no extention tag-thing in the properties-window
Kudos for sharing!
ReplyDeleteThanks ;-)
ReplyDeleteThanks for sharing! This beats going to the filesystem.
ReplyDeleteThank you very much for the help.
ReplyDeleteThey made this necessarily complicated.
When I follow your steps it works with all my HTML-Files except for the one i needed for, there is just no extention tag-thing in the properties-window
ReplyDeleteThat file must be opened. Close it and go to properties of that file, you will find the option extension for that file too.
ReplyDelete