samuelmeuli / glance

🔎 All-in-one Quick Look plugin
MIT License
951 stars 67 forks source link

Options for source code previews #6

Open samuelmeuli opened 4 years ago

samuelmeuli commented 4 years ago

I'd like to avoid introducing options as much as possible. So far, Glance doesn't have any options at all. It might be best to keep it this way.

Source code settings which I think might be worth considering:

Attributes which I think should not be configurable:

_Requested on Reddit and in App Store reviews._

s-r-aman commented 4 years ago

Can we also implement text selection with copy feature?

samuelmeuli commented 4 years ago

Can we also implement text selection with copy feature?

I've created a new issue for this request: #13

lutzthies commented 4 years ago

Hey there! First of all: really like the idea of an all-in-one QL plugin. 👍

You mentioned QLColorCode here. There's another project for source code files which is fairly new but awesome. Check out SourceCodeSyntaxHighlight. It supports a lot of customizations, including not only line count and tab size but furthermore themes, extra settings per filetype and much, much more.

kieranju commented 4 years ago

If I’m not mistaken, it seems that Glance’s source code/text previews have some extra padding around the content. This might be another good candidate for the list of settings, since it doesn’t seem like Apple adds any padding around their default previews.

(I can follow up again at a later time with screenshots if it isn’t clear what I mean by padding)

andreiborisov commented 4 years ago

Attributes which I think should not be configurable: color scheme, font family

I would like to customize syntax highlighting color scheme and font to make it consistent across my text editors and other apps. Why not?