Versions in this module Expand all Collapse all v0 v0.0.17 Oct 30, 2025 v0.0.16 Oct 28, 2025 v0.0.15 Oct 27, 2025 v0.0.14 Oct 27, 2025 v0.0.13 Oct 27, 2025 v0.0.12 Oct 27, 2025 v0.0.11 Oct 27, 2025 v0.0.10 Oct 27, 2025 v0.0.9 Oct 26, 2025 v0.0.8 Oct 26, 2025 v0.0.7 Oct 26, 2025 v0.0.6 Oct 26, 2025 v0.0.5 Oct 26, 2025 v0.0.3 Oct 25, 2025 v0.0.2 Oct 23, 2025 v0.0.1 Oct 23, 2025 Changes in this version + type CompletionItem struct + Detail *string + Documentation interface{} + InsertText string + Kind int + Label string + type CompletionList struct + IsIncomplete bool + Items []CompletionItem + type CompletionParams struct + type JSONRPCError struct + Code int + Data interface{} + Message string + func (e *JSONRPCError) Error() string + type JSONRPCNotification struct + JSONRPC string + Method string + Params interface{} + type JSONRPCRequest struct + ID int + JSONRPC string + Method string + Params interface{} + type JSONRPCResponse struct + Error *JSONRPCError + ID int + JSONRPC string + Result json.RawMessage + type LSPClient struct + func NewLSPClient(ctx context.Context, workspace, filePath string) (*LSPClient, error) + func (c *LSPClient) Close() error + func (c *LSPClient) DidOpen(ctx context.Context, filename, languageID string, version int, text string) error + func (c *LSPClient) GetCompletions(ctx context.Context, line, character int) (*CompletionList, error) + func (c *LSPClient) GetFileURI() string + func (c *LSPClient) WaitForReady(ctx context.Context) error + type Position struct + Character int + Line int + type TextDocumentIdentifier struct + URI string + type TextDocumentPositionParams struct + Position Position + TextDocument TextDocumentIdentifier