10.4: Add Xcode c and c++ header files to Spotlight
Nov 02, '05 05:15:00AM • Contributed by: Anonymous
Nov 02, '05 05:15:00AM • Contributed by: Anonymous
If you use Xcode, it's extremely useful to have your header files indexed by Spotlight. This isn't done by default, and it isn't well documented how to achieve it.
It's actually pretty easyl. Open Terminal, and then run the following three commands:
$ mdimport -f /usr/include
$ mdimport -f /usr/local/include
$ mdimport -f /System/Library/Frameworks
Spotlight will then index all of the header files...
•
[20,551 views]
