mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Add temp registerSearchProvider stub
to avoid breaking live share in Insiders
This commit is contained in:
parent
a9589652c1
commit
c348736137
5
src/vs/vscode.proposed.d.ts
vendored
5
src/vs/vscode.proposed.d.ts
vendored
|
@ -225,6 +225,11 @@ declare module 'vscode' {
|
|||
}
|
||||
|
||||
export namespace workspace {
|
||||
/**
|
||||
* DEPRECATED
|
||||
*/
|
||||
export function registerSearchProvider(): Disposable;
|
||||
|
||||
/**
|
||||
* Register a search provider.
|
||||
*
|
||||
|
|
|
@ -585,6 +585,10 @@ export function createApiFactory(
|
|||
registerFileSearchProvider: proposedApiFunction(extension, (scheme, provider) => {
|
||||
return extHostSearch.registerFileSearchProvider(scheme, provider);
|
||||
}),
|
||||
registerSearchProvider: proposedApiFunction(extension, () => {
|
||||
// Temp for live share in Insiders
|
||||
return { dispose: () => { } };
|
||||
}),
|
||||
registerTextSearchProvider: proposedApiFunction(extension, (scheme, provider) => {
|
||||
return extHostSearch.registerTextSearchProvider(scheme, provider);
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue