Datalayer VS Code Extension - v0.0.17
    Preparing search index...

    Module webview/services/completion/lexicalLLMProvider

    VS Code Language Model integration for Lexical inline completions. Bridges Lexical webview with VS Code's LLM API (Copilot and other providers).

    This provider:

    • Implements IInlineCompletionProvider for use with LexicalInlineCompletionPlugin
    • Uses message passing to request completions from VS Code extension host
    • Supports GitHub Copilot and any other registered VS Code language models
    • Handles prefix overlap detection to extract only new completion text
    • Times out requests after 15 seconds to prevent hanging

    Classes

    LexicalVSCodeLLMProvider

    Interfaces

    CompletionContext
    CompletionItem
    CompletionList
    CompletionRequest
    IInlineCompletionProvider