OS X Search skip Xojo projects ?

I think“OS X Search skip Xojo projects ?”

Am I right ?

PS: a search on a specific word (in comments) inside a Xojo project is useful.

Spotlight works for finding Xojo projects just fine for me

Caveat: Usually, the spotlight importer inside the IDE (a package called “REALbasic.mdimporter”) is auto-detected by the Mac once the app gets launched for the first time. After a while (may be minutes or a few hours), Spotlight will start scanning the entire disk for project files (both in RbBF format, ending in “.rbp”, as well as VCP format (".rbvcp" and related files) and make the results available to Spotlight.
If a project files gets saved in the IDE, it will be indexed immediately, though. This makes it possible to test if the importer works:
Launch the IDE, save any .rbp file, then issue “Get Info” in the Finder on this file. In the “More Info…” segment of the Info window, the classes of the project file should be listed then. If not, the importer is not functional.
If it turns out that the importer does not work, it may be that there’s still an older importer present (e.g. the now-disfunctional REALbasic Spotlight importer released years ago). Removing this old importer should fix the issue.
To find any old importers, this is the best way to do it:
In Terminal, issue this command: “mdimport -L” This will list all Spotlight importers. One of them would be named “REALbasic.mdimporter”. It will include the path (older) in which this importer resides. Only if it resides inside the new IDE’s package, it’s the right one. If others are found, they should be trashed. Repeat these steps until “mdimport -L” lists the importer inside the IDE.

Saving project is text format works for me when I search something inside Xojo projects (classes, code, etc.)

It doesn’t work for binary projects anymore.
https://forum.xojo.com/conversation/post/148695

[quote=0:@shao sean]Look in the application package of the new and old versions

Xojo.app/Contents/Library/Spotlight/

In my Xojo 2014r2.1 there is no .mdimporter file in there, so it looks like they forgot to include it…[/quote]

Feedback Case #12166

OK: I may be too fast to make conclusions.

The idea is the same as QuickLook: I want to be able to make searches (and eventually get results) before loafing a project.

Of course, when I load a project, its own (Xojo) search feature works fine (I think).

Also, searching into applications can be useful when (like me), you keep one or two old / older applications versions in case of trouble with the last compile.

The folder is there, but it is empty in Xojo 2015r1.

And in no RB or Xojo mdi is found?

I have no such:

mdimport[9779:566207] Paths: id(501) ( "/Library/Spotlight/iBooksAuthor.mdimporter", "/Library/Spotlight/iWork.mdimporter", "/Library/Spotlight/Microsoft Office.mdimporter", "/System/Library/Spotlight/Application.mdimporter", "/System/Library/Spotlight/Archives.mdimporter", "/System/Library/Spotlight/Audio.mdimporter", "/System/Library/Spotlight/Automator.mdimporter", "/System/Library/Spotlight/Bookmarks.mdimporter", "/System/Library/Spotlight/Chat.mdimporter", "/System/Library/Spotlight/CoreMedia.mdimporter", "/System/Library/Spotlight/Font.mdimporter", "/System/Library/Spotlight/iCal.mdimporter", "/System/Library/Spotlight/Image.mdimporter", "/System/Library/Spotlight/iPhoto.mdimporter", "/System/Library/Spotlight/iPhoto8.mdimporter", "/System/Library/Spotlight/Mail.mdimporter", "/System/Library/Spotlight/MIDI.mdimporter", "/System/Library/Spotlight/Notes.mdimporter", "/System/Library/Spotlight/PDF.mdimporter", "/System/Library/Spotlight/PS.mdimporter", "/System/Library/Spotlight/QuartzComposer.mdimporter", "/System/Library/Spotlight/RichText.mdimporter", "/System/Library/Spotlight/SystemPrefs.mdimporter", "/System/Library/Spotlight/vCard.mdimporter", "/Applications/Evernote.app/Contents/Library/Spotlight/EvernoteSpotlightImporter.mdimporter", "/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/Library/Spotlight/MZSpotlight.mdimporter", "/Applications/Pixelmator.app/Contents/Library/Spotlight/Pixelmator.mdimporter", "/Applications/Parcel.app/Contents/Library/Spotlight/ParcelSpotlight.mdimporter", "/Applications/Transmit.app/Contents/Library/Spotlight/Transmit Favorite Importer.mdimporter", "/Applications/GarageBand.app/Contents/Library/Spotlight/GarageBandSpotlightImporter.mdimporter", "/Applications/GarageBand.app/Contents/Library/Spotlight/LogicX_MDImport.mdimporter", "/Applications/Ulysses.app/Contents/Library/Spotlight/Ulysses.mdimporter", "/Applications/Xcode.app/Contents/Library/Spotlight/uuid.mdimporter"

Its there in older versions

2015-03-28 08:47:54.457 mdimport[25924:507] Paths: id(501) (
“/Library/Spotlight/GBSpotlightImporter.mdimporter”,
“/Library/Spotlight/iBooksAuthor.mdimporter”,
“/Library/Spotlight/iWork.mdimporter”,
“/Library/Spotlight/Microsoft Entourage.mdimporter”,
“/Library/Spotlight/Microsoft Office.mdimporter”,
“/System/Library/Spotlight/Application.mdimporter”,
“/System/Library/Spotlight/Archives.mdimporter”,
“/System/Library/Spotlight/Audio.mdimporter”,
“/System/Library/Spotlight/Automator.mdimporter”,
“/System/Library/Spotlight/Bookmarks.mdimporter”,
“/System/Library/Spotlight/Chat.mdimporter”,
“/System/Library/Spotlight/CoreMedia.mdimporter”,
“/System/Library/Spotlight/Font.mdimporter”,
“/System/Library/Spotlight/iCal.mdimporter”,
“/System/Library/Spotlight/Image.mdimporter”,
“/System/Library/Spotlight/iPhoto.mdimporter”,
“/System/Library/Spotlight/iPhoto8.mdimporter”,
“/System/Library/Spotlight/Mail.mdimporter”,
“/System/Library/Spotlight/MIDI.mdimporter”,
“/System/Library/Spotlight/Notes.mdimporter”,
“/System/Library/Spotlight/PDF.mdimporter”,
“/System/Library/Spotlight/PS.mdimporter”,
“/System/Library/Spotlight/QuartzComposer.mdimporter”,
“/System/Library/Spotlight/RichText.mdimporter”,
“/System/Library/Spotlight/SystemPrefs.mdimporter”,
“/System/Library/Spotlight/vCard.mdimporter”,
“/Applications/Real Studio 2012 Release 2.1/Real Studio 2012r2.1.app/Contents/Library/Spotlight/RealStudio.mdimporter”,
“/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/Library/Spotlight/MZSpotlight.mdimporter”,
“/Applications/GarageBand.app/Contents/Library/Spotlight/GBSpotlightImporter.mdimporter”,
“/Applications/iBooks Author.app/Contents/Library/Spotlight/iBooksAuthor.mdimporter”,
“/Applications/Microsoft Office 2011/Microsoft Outlook.app/Contents/Library/Spotlight/Microsoft Outlook.mdimporter”,
“/Applications/Real Studio 2011r1/REAL Studio 2011.app/Contents/Library/Spotlight/REALbasic.mdimporter”,
“/Applications/SubEthaEdit.app/Contents/Library/Spotlight/SeeTextImporter.mdimporter”,
“/Applications/Xojo 2013 Release 1/Xojo.app/Contents/Library/Spotlight/RealStudio.mdimporter”,
“/Applications/Xojo 2013 Release 2/Xojo 2013r2.app/Contents/Library/Spotlight/RealStudio.mdimporter”,
“/Applications/Xojo 2013 Release 3.3/Xojo.app/Contents/Library/Spotlight/RealStudio.mdimporter”,
“/Applications/Xcode.app/Contents/Library/Spotlight/uuid.mdimporter”