This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Could NetBeans provide a menu item named "Open as" to allow user to choose the format to apply with? Like Tapestry's .application definition can be open as a XML file and highlighted correctly.
Reassigning to utilities.
I have got a similar problem: I switched from Eclipse to NB because of scala - using the excellent scala plugin. And I realy like NB but I miss Eclipse's open as... command. Some of my scala files contain a lot more xhtml+js than scala code, because I use scalas emebbeded xml feature, to have a staticly typed template-language. So I'd rather open those special scala files with the also excellent HTML-editor. To achieve this I currently have to change the mime/type but than I can not use the scala editor for the "code-files" anymore. So an open as... like in eclipse would realy help. Maybe alternatively using the file-ending instead of the extension to associate a mime/type ie '.scala' is mapped to scala-files and '_view.scala' to text/html. However this does not work as well because the extension dialog does (not surpisingly) accept a dot.
In netbeans 7.3, this option is very important in mixed content as php javascript