diff options
| author | Paul Buetow <paul@buetow.org> | 2025-08-16 23:29:37 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-08-16 23:29:37 +0300 |
| commit | 4974b40bd5126cb4215580c0d066057a973f50d1 (patch) | |
| tree | 0c0febd66e4a59ae713d927474b46fdc4f0592b7 /internal/lsp/document_test.go | |
| parent | 765eda955eb811d08d867ff4d3914fc6d60c22dd (diff) | |
feat(lsp): code action to rewrite selection with instruction detection
- Adds textDocument/codeAction handler that rewrites the selected range.\n- Instruction preference: strict ;text; marker first, then //, #, -- line comments, then single-line block comments (/* */ and <!-- -->). Earliest in the selection wins.\n- Removes the matched instruction from the selection before sending to LLM.\n- README: document code action workflow and instruction formats.
Diffstat (limited to 'internal/lsp/document_test.go')
0 files changed, 0 insertions, 0 deletions
