Interface CustomEditorsMain
Methods
$createCustomEditorPanel
- $createCustomEditorPanel<T>(handle: string, title: string, widgetOpenerOptions: undefined | T, options: WebviewPanelOptions & WebviewOptions): Promise<void>
Type Parameters
Parameters
handle: string
title: string
widgetOpenerOptions: undefined | T
options: WebviewPanelOptions & WebviewOptions
Returns Promise<void>
$onContentChange
- $onContentChange(resource: UriComponents, viewType: string): void
Parameters
resource: UriComponents
viewType: string
Returns void
$onDidEdit
- $onDidEdit(resource: UriComponents, viewType: string, editId: number, label: undefined | string): void
Parameters
resource: UriComponents
viewType: string
editId: number
label: undefined | string
Returns void
$registerCustomEditorProvider
- $registerCustomEditorProvider(viewType: string, options: WebviewPanelOptions, supportsMultipleEditorsPerDocument: boolean): void
Parameters
viewType: string
options: WebviewPanelOptions
supportsMultipleEditorsPerDocument: boolean
Returns void
$registerTextEditorProvider
Parameters
viewType: string
options: WebviewPanelOptions
Returns void
$unregisterEditorProvider
- $unregisterEditorProvider(viewType: string): void