Aider-AI / aider

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

Complete path only to first common element #2072

Open golergka opened 1 week ago

golergka commented 1 week ago

Issue

The UI to add the files is not very great now. For example, when I start to type something like ./s, I want to press Tab to complete to ./src so that I can start typing the name of the next subfolder. However, instead it gets complete to ./src/very/long/path/of/one/of/my/thousands/of/files.ts, which completely defends the purpose of Tab-based path completion.

If maintainer approves, I can take this improvement on myself.

Version and model info

No response

5ocworkshop commented 1 week ago

Different but related about adding and removing files: https://github.com/Aider-AI/aider/issues/2068