Change SearchProvider to be URI-based, not string-based. #50788

This commit is contained in:
Rob Lourens
2018-07-02 19:23:45 -07:00
parent e0e9c3d455
commit 0ef1c31b06
10 changed files with 154 additions and 172 deletions

View File

@@ -483,7 +483,7 @@ export interface MainThreadFileSystemShape extends IDisposable {
export interface MainThreadSearchShape extends IDisposable {
$registerSearchProvider(handle: number, scheme: string): void;
$unregisterProvider(handle: number): void;
$handleFileMatch(handle: number, session: number, data: UriComponents | UriComponents[]): void;
$handleFileMatch(handle: number, session: number, data: UriComponents[]): void;
$handleTextMatch(handle: number, session: number, data: IRawFileMatch2[]): void;
$handleTelemetry(eventName: string, data: any): void;
}