Skip to content

Add support for .rexx (REXX source files) #355

@michaelmcgaw

Description

@michaelmcgaw

Title: Add support for .rexx (REXX source files)


Request

Please add QuickLook preview support for files with the .rexx extension (REXX programming language source files).

Why this should work

The highlight engine bundled with Syntax Highlight already supports REXX syntax highlighting — both classic REXX and Open Object REXX. The language definition (rexx.lang) has been present in highlight since at least version 2.14. So no new rendering work is needed; only the UTI/extension mapping needs to be added.

UTI information

Output of mdls -name kMDItemContentType -name kMDItemContentTypeTree yourfile.rexx on macOS [YOUR VERSION]:

kMDItemContentType     = "dyn.ah62d4rv4ge81e3p2ta"
kMDItemContentTypeTree = (
    "public.item",
    "dyn.ah62d4rv4ge81e3p2ta",
    "public.data"

Additional context

REXX (Restructured Extended Executor) is a scripting language with a long history on IBM platforms (VM/CMS, OS/2, TSO/E) and is still actively used today. On Unix/macOS systems, REXX source files are plain text and conventionally use the .rexx extension. The highlight engine also has a separate definition for Open Object Rexx (.oorexx).

Thank you for maintaining this excellent application!

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