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

Support ".dart" file extension #32

Closed
lmapii opened this issue May 5, 2023 · 1 comment
Closed

Support ".dart" file extension #32

lmapii opened this issue May 5, 2023 · 1 comment

Comments

@lmapii
Copy link

lmapii commented May 5, 2023

glance works really well out of the box!

I'd wonder if it is possible to add support for previewing other file types without having to update the app, e.g., I'd love to be able to just tell quicklook to treat a certain file as "text", in this case .dart files.

I don't need any code highlighting, however, I'd like to be able to preview .dart files. Would this be possible with glance?

@chamburr
Copy link
Owner

chamburr commented May 5, 2023

As far as I know, there is no way to change supported file types without updating the app. The list of file extensions must be stored in the Info.plist file, which cannot be changed dynamically.

You can see README on how to add a specific file extension. I believe .dart is already supported though, with syntax highlighting.

@chamburr chamburr closed this as completed May 5, 2023
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