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

    Interface TerminalCompletionContext

    Context information passed to TerminalCompletionProvider.provideTerminalCompletions.

    It contains the full command line and the current cursor position.

    interface TerminalCompletionContext {
        commandLine: string;
        cursorIndex: number;
    }
    Index

    Properties

    commandLine: string

    The complete terminal command line.

    cursorIndex: number

    The index of the cursor in the command line.