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

    Class TerminalCompletionList<T>

    Represents a collection of completion items to be presented in the terminal.

    const list = new TerminalCompletionList([
    { label: 'ls', replacementIndex: 0, replacementLength: 0, kind: TerminalCompletionItemKind.Method }
    ], { filesRequested: true, cwd: Uri.file('/home/user') });

    Type Parameters

    Index

    Constructors

    Properties

    items: T[]

    The completion items.

    resourceRequestConfig?: TerminalResourceRequestConfig

    Resources that should be shown in the completions list for the cwd of the terminal.