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

    Interface TerminalCompletionContext

    Context information passed to TerminalCompletionProvider.provideTerminalCompletions.

    It contains the full command line, the current cursor position, and a flag indicating whether fallback completions are allowed when the exact completion type cannot be determined.

    interface TerminalCompletionContext {
        allowFallbackCompletions: boolean;
        commandLine: string;
        cursorPosition: number;
    }
    Index

    Properties

    allowFallbackCompletions: boolean

    Whether completions should be provided when it is not clear to what type of completion is well known.

    commandLine: string

    The complete terminal command line.

    cursorPosition: number

    The index of the cursor in the command line.