Interface IEditorExtensionFactory<T>

Editor extension factory interface.

Type Parameters

  • T = undefined

    Extension parameter type.

Hierarchy

  • IEditorExtensionFactory

Properties

default?: T

Extension default value

Notes

If undefined but has a schema, the default value will be null to be JSON serializable.

factory: ((options) => IConfigurableExtension<T>)

Type declaration

name: string

Editor extension unique identifier.

JSON schema defining the configurable option through user settings.

If this is defined, every time the setting changes, IConfigurableExtension.reconfigure will be called with the new setting value.

Notes

If no default value is provided, IEditorExtensionFactory.default will be used. If the extension is to be handled by the code only, this should not be defined.

Generated using TypeDoc