-
Notifications
You must be signed in to change notification settings - Fork 161
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
preview files with extention #23
Comments
qlstephen's logic is to preview everything as text (by virtue of being associated with the UTI (Uniform Type Identifier) Thus, if extension To examine the situation:
If (a), qlstephen should handle the preview, unless blacklisted. if (b), another Quick Look plugin may be preempting qlstephen. To remedy that, you could edit the Needless to say, you'll have to reapply this change whenever you update qlstephen itself. |
Testing and debug QuickLook plugins: In terminal, use qlmanage with -d4 to see debug information such as:
example: qlmanage -p -d4 /Users/markf/Downloads/quicklook\ plugins/qlstephen-1.4.4/LICENSE
|
You said that if no specific UTI is defined for a text file, QLStephen should handle it. However, I have some text files that have no specific UTI, but QLStephen still cannot preview the content. For example, if I create a test.pbs (a qsub script), the kMDItemContentType is "dyn.ah62d4rv4ge81a2xx", but QuickLook does not show the content. Actually, it seems that I am not getting previews into any text file that has no specific UTI. Do you have any suggestions about what could be the problem? Update: I found people are actively discussing this issue in #87 Thanks! |
Same here:
And it still would not preview the "database.env" file |
@ruslaniv basically you have to add the content type to LSItemContentTypes array.
Then add the content type "dyn.ah62d4rv4ge80n5x0" to the list not public.env, like below
Then
|
@flemingm THANK YOU! I haven't been able to preview .txt files forEVER. Using -d4, I discovered that QLColorCode.qlgenerator was being invoked … and failing. Removing QLColorCode (which I didn't need anyway) solved this years-old problem. |
Doesn't seem to be working for me. Anyone else on Big Sur?
Edit, I am getting this prompt after I added that string
|
getting the same prompt. For me, the QuickLook qlstephen doesn't seem to work on any file extension. |
Just in case, To be safe in terms of accidental damaging the Info.plist, you can probably try something like below, after installing the stock extension (replace
|
I’ve reinstalled QLStephen on macOS Ventura (13.0.1), unfortunately I cannot edit the I understand this happens because the code signature is now outdated. Does anyone have a suggestion for me? It’s disappointing that such a seemingly-simple QuickLook generator like QLStephen has to overcome such annoying obstacles with every major OS release (does nobody within Apple use this extension??) |
Update – after a little thinking, I realized that I couldn’t go the Homebrew route – instead, I downloaded the repo, edited the Everything works now! 🎉 |
FYI |
Great!, It is working. Now I can open .sol (solidity) file on my mac. :D |
hi,
is it possible to preview pde files for example? It's just a text file with a pde extention.
It would be nice if people can set which extentions should be previewed as text.
The text was updated successfully, but these errors were encountered: