ReadonlyidentifierProvider unique identifier
ReadonlynameProvider display name
Fetches code completion from VS Code's Language Model API. Handles prefix overlap detection to return only new text.
Code text and cursor position
Code before and after cursor
Promise with completion suggestions
PrivategetRequests completion from extension host via message passing. Implements request/response pattern with timeout protection.
Code before cursor
Code after cursor
Programming language identifier
Completion text or null if timeout/error
VS Code LLM completion provider for Lexical cells. Bridges webview with extension host's Language Model API access.
Remarks
Communication flow: