Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

delphi-preview-handler

Preview handler for multiple source code extensions

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

The Delphi Preview Handler is a preview handler for Windows Vista, 7, 8, and 10 that allows you to read your source code with syntax highlighting without having to open it in an editor.

Features

  • Supports Windows Vista, 7, 8, and 10 on 32-bit and 64-bit systems.
  • 50+ syntax highlighting themes.
  • 60+ source code extensions supported.
  • Themes compatible with the Delphi IDE Theme Editor.

This preview handler can render the following file extensions:

Extensions Description Preview
.pp, .pas, .lpr, .lpk, .lfm, .inc Free Pascal/Lazarus files https://dl.dropboxusercontent.com/u/12733424/Blog/Delphi%20Preview%20Handler/Images/fpc-Sample%20Files.png
.pas, .dpr, .dpk, .inc, .dproj, .bdsproj Delphi files https://dl.dropboxusercontent.com/u/12733424/Blog/Delphi%20Preview%20Handler/Images/Delphi-Sample%20Files.png
.c, .cpp, .cc, .h, .hpp, .hh, .cxx, .hxx, .cu C and C++ source files https://dl.dropboxusercontent.com/u/12733424/Blog/Delphi%20Preview%20Handler/Images/c-Sample%20Files.png
.asm Assembler source files https://dl.dropboxusercontent.com/u/12733424/Blog/Delphi%20Preview%20Handler/Images/Asm-Sample%20Files.png
.e, .ace Eiffel files .
.f, .for Fortran files .
.java Java files .
.csproj, .xaml, .sln, .vcxproj, .vbproj, .jsproj, .appxmanifest Visual Studio files
.bas, .vb Visual Basic files .
.cbl, .cob COBOL files .
.cs C# files https://dl.dropboxusercontent.com/u/12733424/Blog/Delphi%20Preview%20Handler/Images/cs-Sample%20Files.png
.css Cascading Stylesheet files
.htm, .html HTML documents
.js JavaScript files https://dl.dropboxusercontent.com/u/12733424/Blog/Delphi%20Preview%20Handler/Images/JScript-Sample%20Files.png
.php, .php3, .phtml PHP files https://dl.dropboxusercontent.com/u/12733424/Blog/Delphi%20Preview%20Handler/Images/php-Sample%20Files.png
.vbs VBScript files .
.bat, .cmd MS-DOS batch files .
.dfm, .xfm Borland form files .
.pl, .pm, .cgi Perl files https://dl.dropboxusercontent.com/u/12733424/Blog/Delphi%20Preview%20Handler/Images/perl-Sample%20Files.png
.py Python files https://dl.dropboxusercontent.com/u/12733424/Blog/Delphi%20Preview%20Handler/Images/python-Sample%20Files.png
.rb, .rbw Ruby files https://dl.dropboxusercontent.com/u/12733424/Blog/Delphi%20Preview%20Handler/Images/ruby-Sample%20Files.png
.sh UNIX shell scripts .
.sql SQL files https://dl.dropboxusercontent.com/u/12733424/Blog/Delphi%20Preview%20Handler/Images/sql-Sample%20Files.png
.iss Inno Setup scripts https://dl.dropboxusercontent.com/u/12733424/Blog/Delphi%20Preview%20Handler/Images/Inno-Sample%20Files.png
.ini INI files .

Important Note about installing a new version

To avoid problems, you must follow these steps when installing or registering a new version of the preview handler.

  1. Close all Windows Explorer instances where the preview handler is active or has been used. Remember that the DLL remains in memory until Windows Explorer is closed.
  2. Unregister the previous version by running the uninstaller located in C:\Program Files (x86)\TheRoadToDelphi\DelphiPreviewHandler or C:\Program Files\TheRoadToDelphi\DelphiPreviewHandler.
  3. If you install the preview handler manually, you must unregister it using UnRegister.bat running as administrator.
  4. Now proceed with the installation of the new version.

Looking for the installer? Check the Release Area.