proposed API and its wiring

This commit is contained in:
Johannes Rieken
2017-07-10 16:17:27 +02:00
parent 2aa549d5c2
commit 16c00672fa
6 changed files with 85 additions and 15 deletions

View File

@@ -295,6 +295,8 @@ export abstract class MainThreadWorkspaceShape {
$cancelSearch(requestId: number): Thenable<boolean> { throw ni(); }
$saveAll(includeUntitled?: boolean): Thenable<boolean> { throw ni(); }
$applyWorkspaceEdit(edits: IResourceEdit[]): TPromise<boolean> { throw ni(); }
$registerFileSystemProvider(handle: number, authority: string): void { throw ni(); }
$onFileSystemChange(handle: number, resource: URI): void { throw ni(); }
}
export abstract class MainThreadTaskShape {
@@ -420,6 +422,8 @@ export abstract class ExtHostTreeViewsShape {
export abstract class ExtHostWorkspaceShape {
$acceptWorkspaceData(workspace: IWorkspaceData): void { throw ni(); }
$resolveFile(handle: number, resource: URI): TPromise<string> { throw ni(); }
$storeFile(handle: number, resource: URI, content: string): TPromise<any> { throw ni(); }
}
export abstract class ExtHostExtensionServiceShape {