The id of this source control.
The human-readable label of this source control.
The (optional) Uri of the root of this source control.
The input box for this source control.
The UI-visible count of resource states of this source control.
Equals to the total number of resource state of this source control, if undefined.
An optional quick diff provider.
Optional commit template string.
The Source Control viewlet will populate the Source Control input with this value when appropriate.
Optional accept input command.
This command will be invoked when the user accepts the value in the Source Control input.
Optional status bar commands.
These commands will be displayed in the editor's status bar.
Create a new resource group.
Dispose this source control.
友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场
An source control is able to provide resource states to the editor and interact with the editor in several source control related ways.