summaryrefslogtreecommitdiff
path: root/internal/lsp/document.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-16 23:56:42 +0300
committerPaul Buetow <paul@buetow.org>2025-08-16 23:56:42 +0300
commit37d0049e7a7b55d40af6da1a884810a543fead22 (patch)
treefd2541df7bd996d90d56e2b372b9561177a22dba /internal/lsp/document.go
parentc971c7f8a88d11f2b692a1bcd4d17b9b0c1a11d2 (diff)
lsp: add 'Resolve diagnostics' code action scoped to selection
- Parse diagnostics from CodeAction context; filter to overlap with selection - Build LLM prompt from selection-only diagnostics; replace only selected range - Keep existing 'Rewrite selection' action; return both when applicable - Add Diagnostic and CodeActionContext types; make CodeActionParams.Context raw JSON - Add helpers for range overlap; unit tests for filtering/overlap - Update README to document resolve-diagnostics action
Diffstat (limited to 'internal/lsp/document.go')
0 files changed, 0 insertions, 0 deletions