Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.
/ CodePreviewHandler Public archive

a source code preview handler for windows File Explorer

Notifications You must be signed in to change notification settings

elsejj/CodePreviewHandler

Repository files navigation

Description

CodePreviewHandler is a source code highlighter previewer plugin for windows file explorer, it's base on Power Toys Preview Pane, and use Highlight as source code highlight. so before use this tool, your must install

and enable preview pane.

SceenShot

How to install

  1. Copy CodePreviewHandler.dll to Power Toys install folder, it's default is C:\Program Files\PowerToys\modules
  2. import meta\install_code_preview.reg (double click)to Registry, it will let windows file explorer known there is a code previewer. if your changed Power Toys install path, you should also edit the reg file point where your install folder.
  3. import meta\associate_file_to_preview.reg (double click) to Registry, it will associate some source code file to this previewer. you may edit this reg file, remove some source file your don't want associate.

How to develop

  1. Checkout Power Toys source
  2. cd src\modules\previewpane
  3. Checkout this source
  4. Open PowerTosy.sln, add this project to previewpane project.

About

a source code preview handler for windows File Explorer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages