Page 1 of 1

Preview with option highlighted

Posted: 20 Mar 2013 14:44
by CompSystems
:idea: My idea is to incorporate an option syntax highlighting some programming languages ​​(C + +, JAVA, etc.)

Image

With the purpose of:

1: A better text display
2: No additional software used for this purpose

Re: Preview with option highlighted

Posted: 20 Mar 2013 15:40
by eil
IMO too many efforts for little purpose. it's not a bid deal to use specific software for what it was designed.

Re: Preview with option highlighted

Posted: 25 Mar 2013 20:47
by TheQwerty
This piqued my interest enough to try to provide a decent scripting solution.
The results can be found here.

Re: Preview with option highlighted

Posted: 28 Mar 2013 20:01
by CompSystems
Thanks :appl:

I vote +1 to be included by default on xyplorer

Re: Preview with option highlighted

Posted: 01 May 2013 15:16
by Johanness
@eil: no little purpose at all. The purpose of preview is that you dont have to open the file at all. (You could say the same for imagefiles).
For me this is a crucial part. Download a zip-file and sneak a glance at some of the code in it to check if its worth exploring more shouldn't use my finely tuned programmers editor...

And it shouldn't be too much of a hassle to integrate: there are several tools that use the
http://www.smartftp.com/client/addons/sourcepreview
plugin...

Re: Preview with option highlighted

Posted: 01 May 2013 15:35
by TheQwerty
Johanness wrote:And it shouldn't be too much of a hassle to integrate: there are several tools that use the
http://www.smartftp.com/client/addons/sourcepreview
plugin...
Shame you can't try the preview plugin without a SmartFTP license.

The 32-bit installer refuses to install on 64-bit Windows 7 and their 64-bit installer is incomplete since it doesn't appear to install the 32-bit version as well. Otherwise, There's a chance this could work if you configured XY to preview all your code as Web & Office files.

Oh well...

EDIT: According to the change log the 64-bit installer should install both versions:
https://www.smartftp.com/forums/index.php?/topic/17738-source-preview-handler-v10-change-log/?p=60939 wrote:v1.0 Build 3 7. April 2012
64-bit setup includes 32-bit binaries as well
It didn't seem to for me but I only had it installed long enough to find out you needed a SmartFTP license to use it - though the behavior in XY vs WE did not match leading to my original assumption.

EDIT 2: Don, does XY support Windows' shell Preview Handlers? Or is it only browser plugins?

I ask because I stumbled over a free (but limited) source code preview handler, but it doesn't work in XY and I'm not sure if it didn't install the 32-bit version, needs a reboot, or if XY just didn't even try to load the handler. :?

Re: Preview with option highlighted

Posted: 02 May 2013 08:49
by admin
browser plugins.

Re: Preview with option highlighted

Posted: 04 Jun 2013 16:08
by binocular222
So, XYplorer's preview is exactly Web Browser's file handling?
For example, I want to preview .abc file with E:\7Utilities\Sublime Text\sublime_text.exe
Then, what registry entry to modify (or better: is there any software/tool to do this assignment?)

Re: Preview with option highlighted

Posted: 04 Jun 2013 16:26
by TheQwerty
binocular222 wrote:So, XYplorer's preview is exactly Web Browser's file handling?
For example, I want to preview .abc file with E:\7Utilities\Sublime Text\sublime_text.exe
Then, what registry entry to modify (or better: is there any software/tool to do this assignment?)
Then you need to convince the Sublime Text guys to create a version that can be run within IE.

XY's web previews make use of IE browser plugins - you can't just change registry entries to achieve that.