sbarex / SourceCodeSyntaxHighlight

Quick Look extension for highlight source code files on macOS 10.15 and later.
GNU General Public License v3.0
3.01k stars 72 forks source link

Add support for .f95 and .cls file #239

Closed TheFermi0n closed 1 year ago

TheFermi0n commented 1 year ago

Since Fortran and LaTeX are already supported by the app, please add support for .f95 and .cls extensions as well.

Terminal output

for Fortran f95 file

kMDItemContentType     = "public.fortran-95-source"
kMDItemContentTypeTree = (
    "public.fortran-95-source",
    "public.fortran-source",
    "public.source-code",
    "public.plain-text",
    "public.text",
    "public.data",
    "public.item",
    "public.content"
)

for LaTeX cls file

kMDItemContentType     = "org.tug.cls"
kMDItemContentTypeTree = (
    "org.tug.cls",
    "public.text",
    "public.data",
    "public.item",
    "public.content",
    "public.plain-text"
)

Inquiry file in app

image image
sbarex commented 1 year ago

Implemented on release 2.1.19 (68).