Skip to content

Code folding, or priority of Quicklook generators #341

@wltb

Description

@wltb

Recently, I installed QLJSON. It works when Syntax Highlight is disabled, but when it is re-enabled, it takes precedence over JSON previews.

So my first question is: Is there a way to determine which generator has priority for given UTIs?

For my second question, a prelude: QLJSON pretty-prints JSON (which can also be achieved with this generator by running jq as a preprocessor), and it has support for folding, i.e. it shows markers that collapse/expand JSON objects/arrays. Could this be implemented for Syntax Highlight as well (this could also be used for source code files, collapse/expand class/function declarations, or loops)?

(somewhat related to #191).

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