added support for finding folders as well

This commit is contained in:
Tino Ehrich 2025-11-26 12:16:38 +01:00 committed by Mario Zechner
parent b8e5f8db6d
commit 15d5120b6a
2 changed files with 45 additions and 32 deletions

View file

@ -462,12 +462,14 @@ The interactive input editor includes several productivity features:
### File Reference (`@`)
Type **`@`** to fuzzy-search for files in your project:
- `@editor` → finds files with "editor" in the name
Type **`@`** to fuzzy-search for files and folders in your project:
- `@editor` → finds files/folders with "editor" in the name
- `@readme` → finds README files anywhere in the project
- `@src` → finds folders like `src/`, `resources/`, etc.
- Directories are prioritized and shown with trailing `/`
- Autocomplete triggers immediately when you type `@`
- Use **Up/Down arrows** to navigate, **Tab**/**Enter** to select
- Only shows attachable files (text, code, images)
- Only shows attachable files (text, code, images) and directories
Uses `fdfind`/`fd` for fast searching if available, falls back to `find` on all Unix systems.