internal void StartSearch(NitraNavigateToItemProvider nitraNavigateToItemProvider, INavigateToCallback callback, string pattern, bool hideExternalItems, bool searchCurrentDocument, ISet <string> kinds) { _callback = callback; _nitraNavigateToItemProvider = nitraNavigateToItemProvider; // TODO: find curent ProjectId for active file // TODO: Add support for 'searchCurrentDocument' Client.Send(new ClientMessage.FindDeclarations(pattern, ProjectId.Invalid, hideExternalItems, kinds.ToImmutableArray())); }
internal void StopSearch() { _callback = null; _nitraNavigateToItemProvider = null; }