Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OnTypeFormattingEditProvider

The document formatting provider interface defines the contract between extensions and the formatting-feature.

Hierarchy

  • OnTypeFormattingEditProvider

Index

Properties

autoFormatTriggerCharacters

autoFormatTriggerCharacters: string[]

Methods

provideOnTypeFormattingEdits

  • Provide formatting edits after a character has been typed.

    The given position and character should hint to the provider what range the position to expand to, like find the matching { when } has been entered.

    Parameters

    Returns ProviderResult<TextEdit[]>

Generated using TypeDoc