On Saturday, October 31, 2015, Andrew Davidson <[email protected]>
wrote:

I know about that trick, but that wasn't quite what I wanted. That
will make all .ino files open with BBEdit. I still want the primary
choice to be the Arduino app, but I just want to have BBEdit be listed
as an alternate.

The OS application/document binding system is built on the assumption that there is typically a one-to-one correspondence between file types (based on filename extensions) and the applications that can open them.

One exception to this is the unidirectional one-to-many relationship between certain "core" file types and the applications that can open them: for example, ".txt" files are universally recognized as text files, and thus any application that advertises its ability to open text files can thus be listed as available to open a ".txt" file.

Unfortunately, the OS does not support the converse case of this, namely, you can't tell the OS that a file of arbitrary type (based on filename extension) is a text file, because that's a use case that was either never considered, or was marginalized during the design of the OS document binding system.

So there's no way (at the user level) to tell the OS "Files whose names end in .ino are text files" -- all you can do is designate a single default application to open those .ino files.

All of that said: even though you can't set things up to make the application available in the "Open With" list, for a number of years BBEdit has exported a service: "Open File in BBEdit". This is available under the "Services" submenu when you right-click on a file in the Finder, and when you choose it will open the file in BBEdit, whether the OS thinks it's a text file or not.

R.
--
Rich Siegel                                 Bare Bones Software, Inc.
<[email protected]>                      <http://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

--
This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to