From 360e5456660678a0babab602e0bc80304a55db3f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 19 Jun 2026 08:23:44 +0300 Subject: ok0 document LSP and LLM exports --- internal/lsp/handlers_codeaction.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/lsp/handlers_codeaction.go') diff --git a/internal/lsp/handlers_codeaction.go b/internal/lsp/handlers_codeaction.go index aba2113..d9f466c 100644 --- a/internal/lsp/handlers_codeaction.go +++ b/internal/lsp/handlers_codeaction.go @@ -1,4 +1,5 @@ // Code Action handlers and helpers split from handlers.go for clarity. + package lsp import ( @@ -36,7 +37,9 @@ type customActionPayload struct { // CodeActionHandler builds and resolves code actions for a specific action type. type CodeActionHandler interface { + // Build returns code actions for the requested document range. Build(s *Server, p CodeActionParams, selection string) []CodeAction + // Resolve completes a deferred code action before it is applied. Resolve(s *Server, action CodeAction, payload codeActionPayload) (CodeAction, bool) } -- cgit v1.2.3