From 23cdf0f8ee9e413a631b81c792af26d2a59c06e7 Mon Sep 17 00:00:00 2001 From: jess Date: Mon, 6 Apr 2026 13:22:35 -0700 Subject: [PATCH] register all supported file types in Info.plist CFBundleDocumentTypes --- Info.plist | 384 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 384 insertions(+) diff --git a/Info.plist b/Info.plist index eb43895..72a0fcf 100644 --- a/Info.plist +++ b/Info.plist @@ -28,5 +28,389 @@ NSSupportsSuddenTermination + CFBundleDocumentTypes + + + CFBundleTypeName + Markdown + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + LSItemContentTypes + + net.daringfireball.markdown + + CFBundleTypeExtensions + + md + markdown + mdown + + + + CFBundleTypeName + CSV + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + LSItemContentTypes + + public.comma-separated-values-text + + CFBundleTypeExtensions + + csv + + + + CFBundleTypeName + JSON + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + LSItemContentTypes + + public.json + + CFBundleTypeExtensions + + json + + + + CFBundleTypeName + TOML + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + CFBundleTypeExtensions + + toml + + + + CFBundleTypeName + YAML + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + CFBundleTypeExtensions + + yaml + yml + + + + CFBundleTypeName + XML + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + LSItemContentTypes + + public.xml + public.svg-image + + CFBundleTypeExtensions + + xml + svg + + + + CFBundleTypeName + Rust Source + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + CFBundleTypeExtensions + + rs + + + + CFBundleTypeName + C/C++ Source + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + LSItemContentTypes + + public.c-source + public.c-plus-plus-source + public.c-header + + CFBundleTypeExtensions + + c + cpp + cc + cxx + h + hpp + hxx + + + + CFBundleTypeName + JavaScript/TypeScript + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + LSItemContentTypes + + com.netscape.javascript-source + + CFBundleTypeExtensions + + js + jsx + ts + tsx + + + + CFBundleTypeName + HTML + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + LSItemContentTypes + + public.html + + CFBundleTypeExtensions + + html + htm + + + + CFBundleTypeName + CSS + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + CFBundleTypeExtensions + + css + scss + less + + + + CFBundleTypeName + Python Source + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + LSItemContentTypes + + public.python-script + + CFBundleTypeExtensions + + py + + + + CFBundleTypeName + Go Source + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + CFBundleTypeExtensions + + go + + + + CFBundleTypeName + Ruby Source + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + LSItemContentTypes + + public.ruby-script + + CFBundleTypeExtensions + + rb + + + + CFBundleTypeName + PHP Source + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + LSItemContentTypes + + public.php-script + + CFBundleTypeExtensions + + php + + + + CFBundleTypeName + Lua Source + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + CFBundleTypeExtensions + + lua + + + + CFBundleTypeName + Shell Script + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + LSItemContentTypes + + public.shell-script + + CFBundleTypeExtensions + + sh + bash + zsh + fish + + + + CFBundleTypeName + Java/Kotlin Source + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + CFBundleTypeExtensions + + java + kt + kts + + + + CFBundleTypeName + Swift Source + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + LSItemContentTypes + + public.swift-source + + CFBundleTypeExtensions + + swift + + + + CFBundleTypeName + Zig Source + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + CFBundleTypeExtensions + + zig + + + + CFBundleTypeName + SQL + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + CFBundleTypeExtensions + + sql + + + + CFBundleTypeName + Makefile + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + CFBundleTypeExtensions + + mk + + + + CFBundleTypeName + Configuration + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + CFBundleTypeExtensions + + ini + cfg + conf + env + + + + CFBundleTypeName + Lock File + CFBundleTypeRole + Viewer + LSHandlerRank + Alternate + CFBundleTypeExtensions + + lock + + + + CFBundleTypeName + Plain Text + CFBundleTypeRole + Editor + LSHandlerRank + Alternate + LSItemContentTypes + + public.plain-text + + CFBundleTypeExtensions + + txt + text + log + + +