Methods
$tryCloseDocument
- $tryCloseDocument(uri: UriComponents): Promise<boolean>
Parameters
Returns Promise<boolean>
$tryCreateDocument
- $tryCreateDocument(options?: { content?: string; language?: string }): Promise<UriComponents>
Parameters
Optional options: { content?: string; language?: string }
Optional content?: string
Optional language?: string
Returns Promise<UriComponents>
$tryOpenDocument
- $tryOpenDocument(uri: UriComponents): Promise<boolean>
Parameters
Returns Promise<boolean>
$trySaveDocument
- $trySaveDocument(uri: UriComponents): Promise<boolean>
Parameters
Returns Promise<boolean>
$tryShowDocument
Parameters
Returns Promise<void>