mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
refine text search api, #41536
This commit is contained in:
@@ -173,7 +173,7 @@ class RemoteFileSystemProvider implements IFileSystemProvider, ISearchResultProv
|
||||
|
||||
const promise = query.type === QueryType.File
|
||||
? this._proxy.$findFiles(this._handle, search.id, query.filePattern)
|
||||
: this._proxy.$findInFiles(this._handle, search.id, query.contentPattern);
|
||||
: this._proxy.$provideTextSearchResults(this._handle, search.id, query.contentPattern, undefined, undefined);
|
||||
|
||||
promise.then(() => {
|
||||
this._searches.delete(search.id);
|
||||
|
||||
Reference in New Issue
Block a user