Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InlineValuesProvider

The inline values provider interface defines the contract between extensions and the editor's debugger inline values feature. In this contract the provider returns inline value information for a given document range and the editor shows this information in the editor at the end of lines.

Hierarchy

  • InlineValuesProvider

Index

Properties(1)

Methods(1)

Properties(1)

Optional onDidChangeInlineValues

onDidChangeInlineValues: Event<void>

An optional event to signal that inline values have changed.

see

EventEmitter

Methods(1)

provideInlineValues

  • Provide "inline value" information for a given document and range. The editor calls this method whenever debugging stops in the given document. The returned inline values information is rendered in the editor at the end of lines.

    Parameters

    • document: TextDocument

      The document for which the inline values information is needed.

    • viewPort: Range

      The visible document range for which inline values should be computed.

    • context: InlineValueContext

      A bag containing contextual information like the current location.

    • token: CancellationToken

      A cancellation token.

    Returns ProviderResult<InlineValue[]>

    An array of InlineValueDescriptors or a thenable that resolves to such. The lack of a result can be signaled by returning undefined or null.

Generated by TypeDoc. Maintained by 紫升

Links: 搜外友链, 69中文网