Source code preivew (HTML/PHP etc)

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

Lee
New Member
Posts: 8
Joined: 2016 Oct 13, 16:53

Source code preivew (HTML/PHP etc)

Post by Lee »

When viewing HTML files I'm now seeing the rendered page in the preview panel, rather than the code. Is there anyway to turn this off?

This got me thinking about source code previews in xplorer2, every few years I do some research into this and it always seems to end up coming back to the SmartFTP plugin that you have to pay for. This time around I came across this very good code preview handler: https://github.com/RRUZ/delphi-preview-handler. I've got it installed and it works pretty will with the standard Windows Explorer.

Is there anyway to get this working with xplorer2?

Thanks


P.S I haven't had any crashes/freezes for some time now :D
User avatar
nikos
Site Admin
Site Admin
Posts: 16402
Joined: 2002 Feb 07, 15:57
Location: UK

Re: Source code preivew (HTML/PHP etc)

Post by nikos »

if you use the NATIVE preview tab, you get a full internet explorer to show the content. For the DRAFT tab you'd get a HTML thumbnail. If you want pure text, right click on the (draft) previewer and pick "text only" from the menu

there is a recommended free source code viewer here http://www.zabkat.com/x2plugins.htm
however the other one you found should work in x2, you just need the NATIVE preview tab