⌨️fileSuggestion
Also known as fileSuggestion setting, @ file autocomplete
A command of your own that suggests files when you type @.
Think of it like
It is like your own phone book. You use it, not the one that came with your phone.
Example
Emma's repo has a million files, and the @ picker is slow. She points fileSuggestion at a script that reads a file index.
Why it matters
A slow picker breaks your flow every time you name a file.
Definition
Example code
json
{
"fileSuggestion": {
"type": "command",
"command": "~/bin/list-files.sh"
}
}Common mistake
Key takeaways
- 1Your own picker. For @.
- 2For huge repos. Faster lists.
- 3type is command. Always.