svsmate - v1.1.1
    Preparing search index...

    Provides a tree view of files and folders in the current workspace. Automatically refreshes when files are created, deleted, or modified.

    Implements

    Index

    Constructors

    Properties

    onDidChangeTreeData: Event<undefined | FileItem> = ...

    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

    • Gets children of the given folder, or the root folder if none provided.

      Parameters

      • Optionalelement: FileItem

        The parent folder node, or undefined for the root.

      Returns FileItem[] | Thenable<FileItem[]>

      A list of FileItem instances.

    • Get TreeItem representation of the element

      Parameters

      • element: FileItem

        The element for which TreeItem representation is asked for.

      Returns TreeItem

      TreeItem representation of the element.