Hello Everyone,
This is a question or a suggestion if no-one has the answer.
Basically I would like to be able to elect which type of syntax highlighting I would like to use on a file by file basis, of coarse the defaults are still required, but when I come across an oddity, say where I have javascript inside a .php file; I would like the option to change the file syntax highlighting to javascript. Why? because it makes sense, and much lesser developed IDE's/Text editors readily offer it and I would like Netbeans to too.
I am not even pretending to know the complexity or tediousness of work that would be required to make it happen, but I am making a guess that it would be fairly easy, based simply on the fact that this option is already available when working with unknown file types... (e.g. the 'open as' option in the right click context menu of an unknown typed file in the projects list)
I wonder whether it hasn't been implemented as then they (the developers) fell they would have to store all the various syntax specifications for individual files?? Well If that is the case, I would suggest not to. I just want to be able to use the 'open as' option on known file types and have no qualms if the files return to their defaults after being closed.
Any help on how to do this, or reasons why it can't and never will be done will be greatly appreciated,
-Hamish
This is a question or a suggestion if no-one has the answer.
Basically I would like to be able to elect which type of syntax highlighting I would like to use on a file by file basis, of coarse the defaults are still required, but when I come across an oddity, say where I have javascript inside a .php file; I would like the option to change the file syntax highlighting to javascript. Why? because it makes sense, and much lesser developed IDE's/Text editors readily offer it and I would like Netbeans to too.
I am not even pretending to know the complexity or tediousness of work that would be required to make it happen, but I am making a guess that it would be fairly easy, based simply on the fact that this option is already available when working with unknown file types... (e.g. the 'open as' option in the right click context menu of an unknown typed file in the projects list)
I wonder whether it hasn't been implemented as then they (the developers) fell they would have to store all the various syntax specifications for individual files?? Well If that is the case, I would suggest not to. I just want to be able to use the 'open as' option on known file types and have no qualms if the files return to their defaults after being closed.
Any help on how to do this, or reasons why it can't and never will be done will be greatly appreciated,
-Hamish