mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
proxy some SCMProvider features
This commit is contained in:
@@ -228,8 +228,15 @@ export abstract class MainProcessExtensionServiceShape {
|
||||
$onExtensionActivationFailed(extensionId: string): void { throw ni(); }
|
||||
}
|
||||
|
||||
export interface SCMProviderFeatures {
|
||||
commitCommand?: string;
|
||||
clickCommand?: string;
|
||||
dragCommand?: string;
|
||||
supportsOriginalResource: boolean;
|
||||
}
|
||||
|
||||
export abstract class MainThreadSCMShape {
|
||||
$register(id: string, registerOriginalResourceProvider: boolean): void { throw ni(); }
|
||||
$register(id: string, features: SCMProviderFeatures): void { throw ni(); }
|
||||
$unregister(id: string): void { throw ni(); }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user