An source control is able to provide {@link SourceControlResourceState resource states} to the editor and interact with the editor in several source control related ways.
Fields
optionalstatusBarCommands:Null<Array<Command>>
Optional status bar commands.
These commands will be displayed in the editor's status bar.
optionalquickDiffProvider:Null<QuickDiffProvider>
An optional {@link QuickDiffProvider quick diff provider}.
read onlyinputBox:SourceControlInputBox
The {@link SourceControlInputBox input box} for this source control.
createResourceGroup(id:String, label:String):SourceControlResourceGroup
Create a new {@link SourceControlResourceGroup resource group}.
optionalcount:Null<Int>
The UI-visible count of {@link SourceControlResourceState resource states} of this source control.
Equals to the total number of {@link SourceControlResourceState resource state} of this source control, if undefined.
optionalcommitTemplate:Null<String>
Optional commit template string.
The Source Control viewlet will populate the Source Control input with this value when appropriate.
optionalacceptInputCommand:Null<Command>
Optional accept input command.
This command will be invoked when the user accepts the value in the Source Control input.