Re: Extend QuickLook to other standard files
Re: Extend QuickLook to other standard files
- Subject: Re: Extend QuickLook to other standard files
- From: "Shawn Erickson" <email@hidden>
- Date: Tue, 6 Nov 2007 09:48:56 -0800
On 11/6/07, Thomas Schlömer <email@hidden> 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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden