mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
add withScmProgress to begin with
This commit is contained in:
@@ -309,7 +309,10 @@ export function createApiFactory(initData: IInitData, threadService: IThreadServ
|
||||
return extHostStatusBar.setStatusBarMessage(text, timeoutOrThenable);
|
||||
},
|
||||
withWindowProgress: proposedApiFunction(extension, <R>(task: (progress: vscode.Progress<string>, token: vscode.CancellationToken) => Thenable<R>): Thenable<R> => {
|
||||
return extHostProgress.withWindowProgress(task);
|
||||
return extHostProgress.withWindowProgress(extension, task);
|
||||
}),
|
||||
withScmProgress: proposedApiFunction(extension, (task: (progress: vscode.Progress<number>) => Thenable<any>) => {
|
||||
return extHostProgress.withScmProgress(extension, task);
|
||||
}),
|
||||
createOutputChannel(name: string): vscode.OutputChannel {
|
||||
return extHostOutputService.createOutputChannel(name);
|
||||
|
||||
Reference in New Issue
Block a user