Color coded Windows 7 Preview Pane?
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Beneath the City Looping
--
Chapters
00:00 Color Coded Windows 7 Preview Pane?
00:27 Accepted Answer Score 1
00:43 Answer 2 Score 3
01:18 Answer 3 Score 2
01:28 Answer 4 Score 7
01:50 Thank you
--
Full question
https://superuser.com/questions/66749/co...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows7 #preview #syntaxhighlighting
#avk47
ANSWER 1
Score 7
Just found this that supports the formats below:
http://www.smartftp.com/client/addons/sourcepreview
ActionScript (.as, .mx)
ASP (.asp)
ASPX (.aspx)
AutoIt (.au3)
Bash (.sh, .bsh)
Batch (.bat, .cmd)
Caml (.ml, .mli, .sml, .thy)
C (.c)
C++ (.cpp, .cxx, ,.cc, .h, .hxx, .rgs)
C# (.cs)
CSS (.css)
Diff (.diff, .patch)
Fortran (.f, .for, .f90, .f95, .f2k)
Ini (.ini, .inf, .reg, .url)
Inno Setup (.iss)
Java (.java)
JavaScript (.js)
Lisp (.lsp, .lisp)
Makefile (.mak)
Matlab (.m)
NFO (.nfo)
NSIS (.nsi, .nsh)
Pascal (.pas, .inc)
Perl (.pl, .pm, .plx)
PHP (.php, .php3, .phtml)
Python (.py, .pyw)
Resource (.rc)
Smalltalk (.st)
TeX (.tex)
SQL (.sql)
VB (.vb)
VBScript (.vbs)
XML (.xml, .xsd, .xsml, xsl, .kml)
ANSWER 2
Score 3
There is a Code Preview Handler, but it supports only the extensions .cs, .vb, .js and .sql . The source code is available and it doesn't look too complex to create a Preview Handler (well, sort of, I wouldn't know how to do one).
I tried adding other extensions to the Code Preview Handler with the tool Preview Handler Editor but it doesn't work, the preview pane is blank (at least for the .pl files I tried).
Edit: you have also a pack of Preview Handlers here, that support the following filetypes:
* ActionScript (.as)
* ASPX (.aspx)
* C# (.cs)
* CSS (.css)
* Diff (.diff, .patch)
* DOS (.bat, .cmd)
* JavaScript (.js)
* Ruby (.rb, .rhtml, .rjs) thanks to Ivan Porto Carrero
* SQL (.sql)
* VB (.vb)
ANSWER 3
Score 2
There's an extension that supports many common coding formats here: http://blog.tatham.oddie.com.au/2006/12/20/vista-and-office-2007-preview-handler-pack-released/
ACCEPTED ANSWER
Score 1
Currently it is not available and there is no add-on I can find anywhere. It has been discussed and commented about so no doubt there is demand for it. I expect an extension to come out soon.