Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work if dotfile has extension #121

Open
benwoodward opened this issue May 4, 2021 · 1 comment
Open

Doesn't work if dotfile has extension #121

benwoodward opened this issue May 4, 2021 · 1 comment

Comments

@benwoodward
Copy link

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: #97

@gsgf
Copy link

gsgf commented Nov 11, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants