12

This question already has an answer here:

Doing Quick Look on .txt files is very convenient (select in Finder and press space).

Is there a way to enable Quick Look for other text files which don't have the .txt extension (e.g., .strings files)?

marked as duplicate by Monomeeth Dec 24 '17 at 1:13

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

6

People can develop plugins to allow Quick Look to support more file types. You can find Apple's Quick Look documentation here.

Luckily though Timac (aka Alexandre Colucci) has already created one. You can find Timac's Quick Look plugin for strings files here.

Just download the compiled plugin, copy it to your /Library/QuickLook folder and run the qlmanage -r command in the Terminal to refresh the Quick Look plugin cache and you should now be able to view previews of files with ".strings" extensions. He even made his plugin capable enough to read .strings files that aren't plain text; some .strings files are in a binary format.

He also supplies the source on his blog, at the same link above, which should help point you in the right direction if you wanted to create a plugin for other similar files that you want Quick Look to recognise.

20

QLStephen is a more general solution that works for all kinds of text files.

  • This is the best! Works for all text files. – Marcin Magnus Aug 31 '17 at 17:42
  • This should be the accepted answer as the pointed plugin satisfies the asked question better ("without .txt extension"). – Laurent Giroud Dec 23 '17 at 23:01

Not the answer you're looking for? Browse other questions tagged .