mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 12:03:23 +00:00
feat: fuzzy file search with @ prefix
- Type @ to fuzzy-search files/folders across project - Respects .gitignore and skips hidden files - Pure Node.js implementation using readdir with withFileTypes - No external dependencies (fd/find) required - Also optimized Tab completion to use withFileTypes instead of statSync Based on PR #60 by @fightbulc, reimplemented for performance.
This commit is contained in:
parent
4de46fbab3
commit
384e4a3a7d
5 changed files with 137 additions and 224 deletions
|
|
@ -469,9 +469,8 @@ Type **`@`** to fuzzy-search for files and folders in your project:
|
|||
- 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) and directories
|
||||
|
||||
Uses `fdfind`/`fd` for fast searching if available, falls back to `find` on all Unix systems.
|
||||
Respects `.gitignore` files and skips hidden files/directories.
|
||||
|
||||
### Path Completion
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue