branch: elpa/aidermacs
commit d0e296f524f8574a59e167b3be90c45ce1f91c5c
Author: Kang Tu <[email protected]>
Commit: Kang Tu (aider) <[email protected]>
docs: Add docs for new refactor and explain functions
---
README.org | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.org b/README.org
index 8858ac94a3..b4dd90ed5d 100644
--- a/README.org
+++ b/README.org
@@ -25,6 +25,7 @@
- Refactor function or region:
- (`aider-region-refactor`): Ask Aider to refactor it given your input
instruction.
- (`aider-function-refactor`): Ask Aider to refactor the function under the
cursor given your instruction.
+ - (`aider-function-or-region-refactor`): If a region is selected, ask Aider
to refactor the selected region. Otherwise, ask Aider to refactor the function
under the cursor.
- Explain code
- (`aider-region-explain`): Select a region (e.g., a code block) in a file
and ask Aider to explain it.
@@ -33,6 +34,7 @@
- Support for Test Driven Development:
- Fix Tests: (`aider-fix-failing-test-under-cursor`): Place cursor on a
failing test function and ask Aider to analyze and fix the code to make tests
pass.
+ - (`aider-function-or-region-explain`): If a region is selected, ask Aider
to explain the selected region. Otherwise, ask Aider to explain the function
under the cursor.
- And More: Add your own Elisp functions to support your use case. You can
certainly ask Aider / `aider.el` to do that.