Re: XCode Spotlight plugin improvements??
Re: XCode Spotlight plugin improvements??
- Subject: Re: XCode Spotlight plugin improvements??
- From: Chris Espinosa <email@hidden>
- Date: Mon, 16 May 2005 11:53:17 -0700
On May 16, 2005, at 11:03 AM, Richard Dunlap wrote: The XCode spotlight plugin is pretty cool, as far as it goes, but it is not complete.
It only seems to index a fraction of file types programmers use. What about Makefiles, '.S' files, etc?
How does one influence changes to the Xcode Spotlight plug-in?
The Xcode "Spotlight importer" doesn't actually do anything. It just says that certain files it cares about are text files. That's all. The standard text file importer takes it from there.
You could probably just clone the /Library/Spotlight/SourceCode.mdimporter, change its name and identifier, and edit its plist to include the LSItemContentTypes you care about. If Xcode doesn't define them, then you need to have a little stub .app that does.
Makefiles are a particular problem because they don't have a file extension, type, or creator, so it's hard to really pick one out. Spotlight and Launch Services don't have a way to assign a file type to a file based on its name or location.
Chris |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden