qlstephen
qlstephen copied to clipboard
Doesn't work if dotfile has extension
Thanks for making this! Works well.
One issue I've discovered is that it doesn't work if a dotfile has an extension, e.g. .eslintrc.cjs
. If I remove the .cjs
extension it'll work.
Possibly related: https://github.com/whomwah/qlstephen/issues/97
Thanks, benwoodward, this extension-thing may be the real reason why it doesn't work for many file types. Repro: QLStephen works fine for the file "LICENSE" in the downloaded source (after xattr -rc and qlmanage -r). Cross-check: If I remove QLStephen.qlgenerator from the /Library/Quicklook folder, quicklooking the same file will not show the content of the file => it is the QLStephen.qlgenerator who is showing the file content. If I add an unknown extension to the filename like "LICENSE.qqq", it's content will not be shown any more. The "file" command in Terminal returns "ASCII text" for both filenames. Reproduced on macOS 10.15.7 and macOS 12.6.1 using QLStephen 1.5.1.