Skip navigation.
 
mlRe: Extend QuickLook to other standard files
FROM : Shawn Erickson
DATE : Tue Nov 06 18:48:56 2007

On 11/6/07, Thomas Schlömer <thomas.<email_removed>> wrote:
> Hi,
>
> > <http://developer.apple.com/documentation/Carbon/Conceptual/understanding_utis/understand_utis_intro/chapter_1_section_1.html#//apple_ref/doc/uid/TP40001319-CH201-DontLinkElementID_17

> > >
>
> Thanks. But the question is: can I edit the system UTI's in a way
> that .asm are simply treated as other source code files? The thing is
> that I'm not developing an application with its own Info.plist where I
> could freely specify my wishes.


I see the following entry in the launch services database...

        --------------------------------------------------------
        type    id:            2886270976
                uti:          public.assembly-source
                description:  assembly source code
                flags:        exported  active  core  apple-internal
                icon:
                conforms to:  public.source-code
                tags:          .s
        --------------------------------------------------------

...which was "submitted" by...

--------------------------------------------------------------------------------
bundle    id:            411042048
   path:          /Volumes/OS1/System/Library/CoreServices/CoreTypes.bundle
   name:          CoreTypes
   identifier:    com.apple.coretypes
   version:      121
   mod date:      3/24/2007 23:06:23
   type code:    'BNDL'
   creator code:  'macs'
   sys version:  0
   flags:        apple-internal
   item flags:    container  package  can-set-extension-hidden  native-app
   icon:
   executable:
   inode:        4670
   exec inode:    0
   container id:  3288399872
   library:
   library items:
   --------------------------------------------------------

It looks like that entry should be extended to list at least .asm files.

However it looks like Xcode "submits" the following...

   --------------------------------------------------------
   type    id:            3291480064
       uti:          public.assembler-source
       description:  Assembler Source File
       flags:        exported  active  apple-internal
       icon:
       conforms to:  public.plain-text
       tags:          .s, .asm
   --------------------------------------------------------

...which in theory should result in what you want.

Oh I just noticed this was on the Cocoa-Dev list which I believe is
off topic for this discussion. I wont post further on this topic to
this list.

(note the above is from a 10.4 system using Xcode 2.5, not looked at
my Leopard system)

-Shawn

Related mailsAuthorDate
mlExtend QuickLook to other standard files Thomas Schlömer Nov 1, 11:58
mlRe: Extend QuickLook to other standard files Sean McBride Nov 1, 17:20
mlRe: Extend QuickLook to other standard files Julien Jalon Nov 6, 11:02
mlRe: Extend QuickLook to other standard files Thomas Schlömer Nov 6, 12:59
mlRe: Extend QuickLook to other standard files Julien Jalon Nov 6, 15:37
mlRe: Extend QuickLook to other standard files Thomas Schlömer Nov 6, 17:22
mlRe: Extend QuickLook to other standard files Julien Jalon Nov 6, 18:19
mlRe: Extend QuickLook to other standard files Shawn Erickson Nov 6, 18:48
ml[Solved] Extend QuickLook to other standard files Thomas Schlömer Nov 9, 11:20