mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
initial proposed SCM api
This commit is contained in:
@@ -358,6 +358,13 @@ export function createApiFactory(initData: IInitData, threadService: IThreadServ
|
||||
}
|
||||
};
|
||||
|
||||
// namespace: scm
|
||||
const scm: typeof vscode.scm = {
|
||||
createSCMProvider: (id, delegate): vscode.SCMProvider => {
|
||||
throw new Error('JOAO not implemented');
|
||||
}
|
||||
};
|
||||
|
||||
return {
|
||||
version: pkg.version,
|
||||
// namespaces
|
||||
@@ -367,6 +374,7 @@ export function createApiFactory(initData: IInitData, threadService: IThreadServ
|
||||
languages,
|
||||
window,
|
||||
workspace,
|
||||
scm,
|
||||
// types
|
||||
CancellationTokenSource: CancellationTokenSource,
|
||||
CodeLens: extHostTypes.CodeLens,
|
||||
|
||||
Reference in New Issue
Block a user