Skip to content

Feature Request: Option to skip rendering for files without an extension (and allow handling by another Quick Look extension) #325

@MyCometG3

Description

@MyCometG3

Hi, thanks for your great work on this project!
I’d like to suggest the following feature request.

🧩 Feature Request: Option to skip rendering for files without an extension (and allow handling by another Quick Look extension)

Description

Currently, SourceCodeSyntaxHighlight also renders files with no extension when the system’s file utility detects text content.
However, many workflows use extensionless files for binary or intermediate data, where this behavior can cause unnecessary previews or delays.

It would be useful to have an option to skip rendering such files entirely.
When enabled, they should fall back to the system’s default Quick Look view — or allow another Quick Look extension to handle them (for example, a custom extension I’m currently working on).

Proposed Behavior

defaults write com.sbarex.SourceCodeSyntaxHighlight SkipExtensionlessFiles -bool true

•	When enabled, the plugin should not process files lacking an extension.
•	The system may then delegate preview handling to another Quick Look extension, if available.

Motivation

•	Prevent slow or irrelevant previews of binary or mixed-content files.
•	Improve performance in developer environments.
•	Allow coexistence with specialized Quick Look extensions.
•	Provide predictable, user-controllable behavior.

Related

No existing issue found.
Closest topics request support for additional file types, but none discuss skipping or delegating extensionless files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions