mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Add ability to open untitled document with initial content (#22021)
This commit is contained in:
committed by
Benjamin Pasero
parent
1dd884a88a
commit
503f8f516e
@@ -120,7 +120,7 @@ export abstract class MainThreadDiagnosticsShape {
|
||||
}
|
||||
|
||||
export abstract class MainThreadDocumentsShape {
|
||||
$tryCreateDocument(options?: { language: string; }): TPromise<any> { throw ni(); }
|
||||
$tryCreateDocument(options?: { language?: string; contents?: string; }): TPromise<any> { throw ni(); }
|
||||
$tryOpenDocument(uri: URI): TPromise<any> { throw ni(); }
|
||||
$registerTextContentProvider(handle: number, scheme: string): void { throw ni(); }
|
||||
$onVirtualDocumentChange(uri: URI, value: ITextSource): void { throw ni(); }
|
||||
|
||||
Reference in New Issue
Block a user