public static void FindReferencesBySpotlight()
        {
            if (!LoadSettings())
            {
                return;
            }

            string command = "mdfind -onlyin {0} {1}";
            Result result  = ReferenceViewerProcessor.FindReferencesByCommand(command, settings.GetExcludeExtentions());

            if (result != null)
            {
                result.Type = Result.SearchType.OSX_Spotlight;
                ReferenceViewerWindow.CreateWindow(result);
            }
        }
        public static void FindReferencesBySpotlight()
        {
            if (!LoadSettings())
            {
                return;
            }

            Result result = ReferenceViewerProcessor.FindReferencesByCommand(Result.SearchType.OSX_Spotlight, settings.GetExcludeExtentions());

            if (result != null)
            {
                ReferenceViewerWindow.CreateWindow(result);
            }
        }