[TxMt] OT spotlight indexing, was TextMate opening Spotlight results

Christopher Elkins celkins at mac.com
Tue Dec 6 01:24:38 UTC 2005


On Dec 5, 2005, at 7:40 AM, Fred B. wrote:

> On 05 Dec 2005, at 14:35, Andreas Wahlin wrote:
>
>> While we're slightly on the subject, what's a good way to make  
>> spotlight index other files than xml and html, say for instance  
>> javascript as well?
>>
>> Andreas
>>
>
> This should help you:
> http://www.macosxhints.com/article.php?story=2005052015041510

If you'd rather not modify system plists and just want it indexed as  
plain text, you can set the file's type code:

$ /Developer/Tools/SetFile -t TEXT /path/to/file

-- 
Christopher Elkins





More information about the textmate mailing list