Giter Club home page Giter Club logo

qlstephen's Introduction

QuicklookStephen

QLStephen is a QuickLook plugin that lets you view text files without their own dedicated QuickLook plugin. Files like:

README
INSTALL
Capfile
CHANGELOG
package.json
etc...

Installation

Homebrew

brew install --cask qlstephen

Pre-compiled

Manually Compiled

Compiling the project yourself? Run:

make
make install

Permissions (Quarantine)

If you run into issues with macOS not letting you run the plugin because it's not signed by a verified developer you can follow these steps:

  1. Install the plugin using one of the methods above
  2. run xattr -cr ~/Library/QuickLook/QLStephen.qlgenerator (sudo if needed)
  3. run qlmanage -r
  4. run qlmanage -r cache
  5. Restart Finder by...
    • Restarting your computer
    • or holding down the option key and right click on Finder’s dock icon, then select “Relaunch” from the menu

For more disucssion on this you can read up on #81 starting here

Settings

Maximum file size

To keep quickview fast the preview is limited in its number of shown bytes. The default value is 100kB. You can change this using the shell to set your own max size.

defaults write com.whomwah.quicklookstephen maxFileSize 102400

Trouble?

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

  • Run qlmanage -m and look for the public.data line to make sure a different application's qlgenerator file hasn't taken precedence. (Not all qlgenerator files are in ~/Library/QuickLook/ or /Library/QuickLook/!)
  • 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.)

If you want to preview some text files that do have extensions (e.g., *.txt), follow these instructions.

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 over the years:

Contributing

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

qlstephen's People

Contributors

whomwah avatar tsdorsey avatar comawill avatar kant avatar bestwnh avatar tessus avatar nickhutchinson avatar roblourens avatar dataxpress avatar tomfado avatar aviflax avatar nacho4d avatar flemingm avatar mweitzel avatar twe4ked avatar traderstf avatar regexident avatar llamafilm avatar smittytone avatar kawarimidoll avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.