Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CustomEditorsExt

Hierarchy

  • CustomEditorsExt

Implemented by

Index

Methods

  • $createCustomDocument(resource: UriComponents, viewType: string, openContext: CustomDocumentOpenContext, cancellation: CancellationToken): Promise<{ editable: boolean }>
  • $disposeCustomDocument(resource: UriComponents, viewType: string): Promise<void>
  • $disposeEdits(resourceComponents: UriComponents, viewType: string, editIds: number[]): void
  • $onMoveCustomEditor(handle: string, newResource: UriComponents, viewType: string): Promise<void>
  • $onSave(resource: UriComponents, viewType: string, cancellation: CancellationToken): Promise<void>
  • $onSaveAs(resource: UriComponents, viewType: string, targetResource: UriComponents, cancellation: CancellationToken): Promise<void>
  • $redo(resource: UriComponents, viewType: string, editId: number, isDirty: boolean): Promise<void>
  • $resolveWebviewEditor<T>(resource: UriComponents, newWebviewHandle: string, viewType: string, title: string, widgetOpenerOptions: undefined | T, options: WebviewPanelOptions, cancellation: CancellationToken): Promise<void>
  • Type Parameters

    • T

    Parameters

    • resource: UriComponents
    • newWebviewHandle: string
    • viewType: string
    • title: string
    • widgetOpenerOptions: undefined | T
    • options: WebviewPanelOptions
    • cancellation: CancellationToken

    Returns Promise<void>

  • $revert(resource: UriComponents, viewType: string, cancellation: CancellationToken): Promise<void>
  • $undo(resource: UriComponents, viewType: string, editId: number, isDirty: boolean): Promise<void>