Theia API Documentation v1.67.0
    Preparing search index...

    Interface TerminalCompletionResourceOptions

    Configuration for requesting file and folder resources to be shown as completions.

    When a provider indicates that it wants file/folder resources, the terminal will surface completions for files and folders that match globPattern from the provided cwd.

    interface TerminalCompletionResourceOptions {
        cwd: Uri;
        globPattern?: string;
        showDirectories: boolean;
        showFiles: boolean;
    }
    Index

    Properties

    cwd: Uri

    The cwd from which to request resources.

    globPattern?: string

    A glob pattern string that controls which files suggest should surface. Note that this will only apply if {@param showFiles} or {@param showDirectories} is set to true.

    showDirectories: boolean

    Show folders as completion items.

    showFiles: boolean

    Show files as completion items.