<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 5 Sep 2019, at 23:28, Carpii UK wrote:</p>

</div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">It would be very useful if TM would register itself with OSX in the same<br>
way.</p>
</blockquote></div>
<div style="white-space:normal">

<p dir="auto">I would love to have TextMate in that menu, but I have no clue what Apple expects.</p>

<p dir="auto">TextMate declares support for document types with the following criteria:</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">CFBundleTypeExtensions = ( '*' );
CFBundleTypeOSTypes    = ( '****' );
LSItemContentTypes     = ( 'public.data' );
</code></pre>

<p dir="auto">Quite sure that in the past, I got TextMate added when I added <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">public.data</code> but that no longer works.</p>

<p dir="auto">I see e.g. Script Editor in the Open With menu, looking at their <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">Info.plist</code> I don’t see anything declared there that TextMate doesn’t also declare.</p>

<p dir="auto">So if anybody knows how to get TextMate added by default, please let me know.</p>
</div>
</div>
</body>
</html>