Hi, I think i might be missing something, if anybody knows how to do this, please tell, if not then it stands as a feature request.
Basically, I would like to be able to preview a php file as if it were a HTML file. at present the only way I can find to do this is to either rename the file to .html and reopen it, or play with the Document Types preferences, both of those options are a hassle and mess with syntax highlighting..
that's it. simple as that. An option like "Preview all files as HTML" Please.
What's that you say? you don't understand my request? OK, maybe I am missing something like I said, but lets say i have a file called top_table.inc.php
it looks a bit like this:
<? $foo=get_foo(); ?>
<table>
<tr><td>
<?=$foo?>
</td></tr>
</table>
I want to see it in the preview panel, but I can't, I get told i have to configure for php etc.etc... but I don't care about the php, I just want to see the table!!!
And even if i did configure it for php, it's not going to work, it's going to bomb with undefined function get_foo, because get_foo is defined in the same file that includes top_table.inc.php, besides I don't want to run it through php, i just want to see the table layout.
Thanks!
K.