scm: don't send resource states commands back and forward

This commit is contained in:
Joao
2017-09-06 16:04:39 +02:00
parent 41ec98361c
commit 51c42516aa
5 changed files with 58 additions and 25 deletions

View File

@@ -330,7 +330,6 @@ export interface SCMGroupFeatures {
export type SCMRawResource = [
number /*handle*/,
string /*resourceUri*/,
modes.Command /*command*/,
string[] /*icons: light, dark*/,
string /*tooltip*/,
boolean /*strike through*/,
@@ -540,6 +539,7 @@ export interface ExtHostTerminalServiceShape {
export interface ExtHostSCMShape {
$provideOriginalResource(sourceControlHandle: number, uri: URI): TPromise<URI>;
$onInputBoxValueChange(sourceControlHandle: number, value: string): TPromise<void>;
$executeResourceCommand(sourceControlHandle: number, groupHandle: number, handle: number): TPromise<void>;
}
export interface ExtHostTaskShape {