Beispiel #1
0
 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()));
 }
Beispiel #2
0
 internal void StopSearch()
 {
     _callback = null;
     _nitraNavigateToItemProvider = null;
 }