interface DocumentsMain {
    $tryCreateDocument(options?): Promise<UriComponents>;
    $tryOpenDocument(uri): Promise<boolean>;
    $trySaveDocument(uri): Promise<boolean>;
    $tryShowDocument(uri, options?): Promise<void>;
}

Implemented by

Methods

  • Parameters

    • Optional options: {
          content?: string;
          language?: string;
      }
      • Optional content?: string
      • Optional language?: string

    Returns Promise<UriComponents>