VSCode-Logger API - v1.7.3
    Preparing search index...

    Class SidebarViewProvider

    Webview provider for the Embedded Devices side panel.

    Implements

    • WebviewViewProvider
    Index

    Constructors

    • Creates the sidebar view provider.

      Parameters

      • context: ExtensionContext

        The extension context for resolving resources.

      • getDevices: () => EmbeddedDevice[]

        Function to retrieve configured devices.

      • onOpenDevice: (deviceId: string) => void

        Handler for opening a device log panel.

      • onRunDeviceCommand: (deviceId: string, commandName: string, command: string) => void

        Handler for running a device command.

      • onOpenSshTerminal: (deviceId: string) => void

        Handler for opening an SSH terminal.

      • onOpenSftpExplorer: (deviceId: string) => void

        Handler for opening the SFTP explorer.

      • onOpenWebBrowser: (deviceId: string) => void

        Handler for opening the device web URL.

      Returns SidebarViewProvider

    Methods

    • Pushes updated device data to the webview.

      Returns void

    • Resolves the sidebar webview and wires up message handlers.

      Parameters

      • webviewView: WebviewView

        The webview view instance to populate.

      Returns void | Thenable<void>