Open Emasoft opened 4 months ago
Yes even Continue.dev allows custom command. This would help setup common workflows easily in aider.
"customCommands": [
{
"name": "test",
"prompt": "Write a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
"description": "Write unit tests for highlighted code"
},
{
"name": "task",
"description": "Next AI Task",
"prompt": "Read Instructions for Next Task in task.md"
}
],
Issue
Add the option to add custom commands to aider (via a yaml file like
aider_commands.yml
). For example:Commands predefined variables: %n = argument number n (put between double quotes) %a = all arguments separated by space (and each one between double quotes) %c = all arguments separated by comma (and each one between double quotes) %f = last file with changes committed by aider (put between double quotes) %s = all files added to the chat separated by space (and each one between double quotes) %k = all files added to the chat separated by comma (and each one between double quotes) %p = project root path (put between double quotes)
Version and model info
No response