Versions in this module Expand all Collapse all v1 v1.2.1 Jun 14, 2026 v1.2.0 Jun 5, 2026 v1.1.0 Jun 4, 2026 v1.0.0 Jun 3, 2026 Changes in this version + type CallHierarchyIncomingCall struct + From CallHierarchyItem + FromRanges []Range + type CallHierarchyIncomingCallsParams struct + Item CallHierarchyItem + type CallHierarchyItem struct + Data interface{} + Detail string + Kind int + Name string + Range Range + SelectionRange Range + Tags []int + URI string + type CallHierarchyOutgoingCall struct + FromRanges []Range + To CallHierarchyItem + type CallHierarchyOutgoingCallsParams struct + Item CallHierarchyItem + type CallHierarchyPrepareParams struct + type ClientCapabilities struct + TextDocument struct{ ... } + type DefinitionParams struct + type Hover struct + Contents MarkupContent + Range *Range + type HoverParams struct + type ImplementationParams struct + type InitializeParams struct + Capabilities ClientCapabilities + ProcessID int + RootURI string + WorkspaceFolders []WorkspaceFolder + type JSONRPCError struct + Code int + Data json.RawMessage + Message string + type JSONRPCRequest struct + ID interface{} + JSONRPC string + Method string + Params json.RawMessage + type JSONRPCResponse struct + Error *JSONRPCError + ID interface{} + JSONRPC string + Result json.RawMessage + type LSPClient interface + Close func() error + Definition func(ctx context.Context, params DefinitionParams) ([]Location, error) + Hover func(ctx context.Context, params HoverParams) (*Hover, error) + Implementation func(ctx context.Context, params ImplementationParams) ([]Location, error) + IncomingCalls func(ctx context.Context, params CallHierarchyIncomingCallsParams) ([]CallHierarchyIncomingCall, error) + OutgoingCalls func(ctx context.Context, params CallHierarchyOutgoingCallsParams) ([]CallHierarchyOutgoingCall, error) + PrepareCallHierarchy func(ctx context.Context, params CallHierarchyPrepareParams) ([]CallHierarchyItem, error) + References func(ctx context.Context, params ReferenceParams) ([]Location, error) + func NewClient(ctx context.Context, dir string, binary string, args ...string) (LSPClient, error) + func NewSocketClient(ctx context.Context, network, address string) (LSPClient, error) + type Location struct + Range Range + URI string + type Manager struct + func GetGlobalManager() *Manager + func NewManager() *Manager + func (m *Manager) Close() error + func (m *Manager) GetClient(ctx context.Context, filePath string) (LSPClient, error) + func (m *Manager) SetClientCreatorForTest(...) + type MarkupContent struct + Kind string + Value string + type Position struct + Character int + Line int + type Range struct + End Position + Start Position + type ReferenceContext struct + IncludeDeclaration bool + type ReferenceParams struct + Context ReferenceContext + type TextDocumentIdentifier struct + URI string + type TextDocumentPositionParams struct + Position Position + TextDocument TextDocumentIdentifier + type WorkspaceFolder struct + Name string + URI string