Interface IEditorExtensionFactory<T>

Editor extension factory interface.

Type Parameters

  • T = undefined

    Extension parameter type.


  • IEditorExtensionFactory


default?: T

Extension default value


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.


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