May 20 Adding New File Extension in Netbeans No Comment in General by merturk 2008 If you are seeking how to register a new extension for known file type in Netbeans. Follow Tools -> Options -> Advanced Options -> System -> File Types -> PHP Files and right click to open then add or change anything you like. I added thtml. Twitter is still inaccessible. No related posts.