Quicker preview for text files

Have a suggestion for "Everything"? Please post it here.
Post Reply
valuex
Posts: 7
Joined: Mon May 13, 2013 11:54 am

Quicker preview for text files

Post by valuex »

Right now Everything is using windows' file preview handler for previewing. It is good for MS office files, PDFs, images, but not good for source code files.
These files are preview led by Monaca, which is the code editor of Visual Studio Code. It is very powerful but heavy, not light and fast enough for previewing text files. In my work computer(with good hardware) it still takes seconds-level for level text file preview. While Quick Look for explorer or Cuda Text lexer for total commander performs quite well for previewing source code files. So how about change the preview handler for text files in Everything?
horst.epp
Posts: 1445
Joined: Fri Apr 04, 2014 3:24 pm

Re: Quicker preview for text files

Post by horst.epp »

I have installed the Delphi preview handler.
It shows all sort of text and source files and includes search.
This is also used by Everything.
https://github.com/RRUZ/delphi-preview-handler
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Quicker preview for text files

Post by NotNull »

Option 1: (as already suggested by horst.epp):
Install or configure a different preview handler for text files on your system, which Everything will then use.

Option 2:
Configure a different preview handler on the Everything application level. This preview handler will only be used in Everything.
  • In Everything, go to menu:Tools => Options => Advanced
  • In the Show settings containing: field, type preview
  • Select preview_handlers
  • Set its value to:

    Code: Select all

    [{"filter":"*.txt;*.cmd;*.ps1;*.log","handler":"{1531d583-8375-4d3f-b5fb-d23bbd169f22}"}]
    
    (Add/remove file extensions as needed)
  • Press OK
Now files with these file extensions will be shown using the default, out-of-the-box Windows preview handler.


preview_handlers



FWIW: If the Monaco preview handler that comes with Visual Studio is anything like the Monaco preview handler that comes with PowerToys, it will not only be slow, but buggy too.

FWIW2: QuickLook supporst Everything too: pressing the spacebar when a file is selected, will open the selected file in Quicklook.
(requires a reasonably up-to-date version of Quicklook)
Post Reply