Skip to content

Conversation

caarlos0
Copy link
Member

Basically, show shorter paths first.

Before:

CleanShot 2025-08-12 at 12 08 19@2x

Now:

CleanShot 2025-08-12 at 12 07 34@2x

basically, show shorter paths first

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
@caarlos0 caarlos0 self-assigned this Aug 12, 2025
Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com>
@caarlos0 caarlos0 merged commit 39ede6e into main Aug 12, 2025
19 checks passed
@caarlos0 caarlos0 deleted the completions-order branch August 12, 2025 17:17
scalabl3 pushed a commit to metaphori-ai/crush that referenced this pull request Aug 19, 2025
…celet#733)

* fix(editor): better sorting of files when completing with /

basically, show shorter paths first

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* Update internal/tui/components/chat/editor/editor.go

Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants