If you create an empty file with no file extension (on your desktop for example), then right click it, OSX/Finder offers various app choices to use to 'Open With..'
A lot of other text and code editors appear in this list (Atom, Visual Code, Sublime Text), but TextMate does not
It would be very useful if TM would register itself with OSX in the same way. I guess there's some way to do this manually, but if so, I haven't found it yet
I'd already tried that but came to the conclusion you couldn't do it for files without an extension
It turns out it was an issue with PathFinder Desktop (which I forgot replaces many aspects of Finder). Doing it via native oSX Finder works fine as you say, thankyou
On Fri, 6 Sep 2019 at 08:22, gerti-textmate@bitart.com wrote:
On 5 Sep 2019, at 23:28, Carpii UK wrote:
I would love to have TextMate in that menu, but I have no clue what Apple expects.
TextMate declares support for document types with the following criteria:
CFBundleTypeExtensions = ( '*' ); CFBundleTypeOSTypes = ( '****' ); LSItemContentTypes = ( 'public.data' );
Quite sure that in the past, I got TextMate added when I added `public.data` but that no longer works.
I see e.g. Script Editor in the Open With menu, looking at their `Info.plist` I don’t see anything declared there that TextMate doesn’t also declare.
So if anybody knows how to get TextMate added by default, please let me know.