Feature/scm (#23)

* initial translation

* fix: review problem

* chore: 添加一个

Co-authored-by: 洛竹 <youngjuning@aliyun.com>
pull/29/head
S-Z 3 years ago committed by GitHub
parent 5a13174b2f
commit 060a294e12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

15
vscode.d.ts vendored

@ -12585,20 +12585,19 @@ export interface SourceControl {
export namespace scm {
/**
* The {@link SourceControlInputBox input box} for the last source control
* created by the extension.
* {@link SourceControlInputBox input box}
*
* @deprecated Use SourceControl.inputBox instead
* @deprecated SourceControl.inputBox
*/
export const inputBox: SourceControlInputBox;
/**
* Creates a new {@link SourceControl source control} instance.
* {@link SourceControl source control}
*
* @param id An `id` for the source control. Something short, e.g.: `git`.
* @param label A human-readable string for the source control. E.g.: `Git`.
* @param rootUri An optional Uri of the root of the source control. E.g.: `Uri.parse(workspaceRoot)`.
* @return An instance of {@link SourceControl source control}.
* @param id `id``git`
* @param label `Git`
* @param rootUri Uri`Uri.parse(workspaceRoot)`
* @return {@link SourceControl source control}
*/
export function createSourceControl(id: string, label: string, rootUri?: Uri): SourceControl;
}

Loading…
Cancel
Save