summaryrefslogtreecommitdiff
path: root/IDEAS.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-16 23:29:37 +0300
committerPaul Buetow <paul@buetow.org>2025-08-16 23:29:37 +0300
commit4974b40bd5126cb4215580c0d066057a973f50d1 (patch)
tree0c0febd66e4a59ae713d927474b46fdc4f0592b7 /IDEAS.md
parent765eda955eb811d08d867ff4d3914fc6d60c22dd (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 'IDEAS.md')
-rw-r--r--IDEAS.md6
1 files changed, 1 insertions, 5 deletions
diff --git a/IDEAS.md b/IDEAS.md
index d7ef0d0..ba9b204 100644
--- a/IDEAS.md
+++ b/IDEAS.md
@@ -61,9 +61,5 @@ language-servers = [ "gopls", "golangci-lint-lsp", "hexai" ]
[language-server.hexai]
command = "hexai"
-`
+```
-## Prompting
-
-* Write a new function: `;Implement a function that adds two numbers;`
-* Replace a whole line: `some other text here ;Implement a function that adds two numbers;`