Datalayer VS Code Extension - v0.0.17
    Preparing search index...

    Tree provider for document outline view. Manages outline data from multiple documents and handles navigation.

    Implements

    Index

    Constructors

    Properties

    onDidChangeTreeData: Event<void | OutlineTreeItem> = ...

    An optional event to signal that an element or root has changed. This will trigger the view to update the changed element/root and its children recursively (if shown). To signal that root has changed, do not pass any argument or pass undefined or null.

    Methods

    • Registers a webview panel for a document. Required for navigation functionality.

      Parameters

      • documentUri: string

        URI string identifying the document.

      • panel: WebviewPanel

        Webview panel to register for this document.

      Returns void

    • Sets the active document for outline display. Called when the user switches between editors.

      Parameters

      • uri: string

        URI of the document to set as active.

      Returns void

    • Updates the outline for a document. Called when the webview sends an outline-update message.

      Parameters

      • documentUri: string

        URI string identifying the document.

      • items: OutlineItem[]

        Array of outline items to display.

      • OptionalactiveItemId: string

        ID of the currently active item.

      Returns void