U ( Robert Roessler) schreef:

> Scaracco wrote:
>> I use SciTE mostly for PHP development and I was looking for a method
>> to see the generated html code of a php file I'm editing. I run a
>> local webserver (Apache). I want to run this via the "Go" command
>> (F5). My approach is to give the full path of the file to a batch file
>> (html.bat) that
>> [snipped lots of work]

> Why not have a local browser access the .php on your local Apache,
> then tell your browser you want to see the HTML source of the
> resulting page?  Even if you then copy and paste the generated source
> into SciTE, this still sounds easier... :)

I’m not sure of this is what you want (?) you can ad the following
lines too your user or global config:

#php parse
command.name.2.=PHP Parser
command.2.=$path_to_your_php_parser -e $(FilePath)
command.is.filter.number.filepattern=0
command.subsystem.2.$=1

$path_to_your_php_parser must be the path to your php directory.

In the tools menu you see now PHP Parser (works with ctrl+2 look if not
in use)

In the output pane you will see the parsed php + html.

Otherwise you can set scite as the default source viewer in you website.

Regards,


_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to