Aider-AI / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
22.1k stars 2.06k forks source link

"Ignoring /code" does not honor multiline { } symbols #2245

Open RickCarlino opened 1 week ago

RickCarlino commented 1 week ago

Issue

I pasted a large prompt multi-line prompt into aider:

/code {
(30 lines or so into the file)
## Example Stuff
You are an **expert hat maker**. Write a hat making web app in Algol.
}

I got the following error:

Skipping /code due to aiderignore or --subtree-only.
...
Error matching Rule:**: Invalid pattern: '**' can only be an entire path component

It seems that the line parser does not honor the multi-line prompt markers.

Version and model info

No response

paul-gauthier commented 4 days ago

Thanks for trying aider and filing this issue.

You can't combine { with /-commands.