qlstephen icon indicating copy to clipboard operation
qlstephen copied to clipboard

Doesn't work if dotfile has extension

Open benwoodward opened this issue 3 years ago • 1 comments

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

benwoodward avatar May 04 '21 23:05 benwoodward

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.

gsgf avatar Nov 11 '22 23:11 gsgf