Skip to content

manuh73/qlstephen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

QuicklookStephen

QLStephen is a QuickLook plugin that lets you view plain text files without a file extension. Files like:

README
INSTALL
CapFile
CHANGELOG
etc...

You can also customise the plugin to determine which files it previews. See Customizing white/black lists, below.

Installation

Pre-compiled

Manually Compiled

Compliling the project yourself? Just copy the generated QLStephen.qlgenerator file into the relevant QuickLook folder (as above).

Customizing white/black lists - Step by Step

Want to change the current behaviour? Just follow the instructions below.

Note: Plists used here are not same as user defaults, so you won’t find them in ~/Library/Preferences. Instead, you need to edit the plist files inside the bundle—in this case, the plugin file: QLStepehen.qlgenerator.

1. Show the contents of the bundle.

If you installed the plugin, it should be in ~/Library/QuickLook/.

2. Edit the appropriate plist file in your favorite text editor.

Plist files:

  • QLStephenWhiteList.plist : files with these names will always be previewed
  • QLStephenExtensionsBlackList.plist : files with these extensions will never be previewed
  • QLStephenDirectoriesBlackList.plist : files contained by these directories will never be previewed

Trouble?

If you’ve installed the plugin, but don’t see any changes:

  • Make sure you are editing (a) the correct plist of (b) the correct bundle. (For example, you might have two QLStephen plugins. It’s possible the plugin in another directory—perhaps /Library/QuickLook/—is what is being read.)
  • Run qlmanage -r in the Terminal. (This will restart QuickLook, which reloads all plugins.)

Why “QLStephen”?

Because I was listening to Adam and Joe when I first wrote it.

Authors

Original author: Duncan Robertson

Special thanks to the following people for submitting patches:

Contributing

  • Fork the project
  • Send a pull request
  • Don’t change the build number (I’ll do that when I release a new version)

About

A QuickLook plugin that lets you view plain text files without a file extension

Resources

Stars

Watchers

Forks

Packages

No packages published