[FEATURE] Sort File Suggestions by Creation or Updated Date
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
For files in my code I don't usually need to even tag the file in claude, but sometimes I want to upload a screenshot I just took. I'll use @~/Desktop/ and it will start autocompleting files there, but it will order the files by file name. That's fine if I know the file name, but screenshots regardless of what software you use to take them are probably not going to be at the top of that list. Right now I find myself going to my desktop and renaming my screenshots just so that I can go back to claude and easily have them show up in the file autocomplete.
Proposed Solution
And if I'm using @ to find a file outside my repo, I think it's probably more likely that creation or updated date is going to be the more useful sorting on that list anyway. If I know the file name itself obviously i can still start typing that and easily complete it too. Seems like it'd be nice to have a way to configure sorting on those file suggestions.
Alternative Solutions
_No response_
Priority
Low - Nice to have
Feature Category
File operations
Use Case Example
Example scenario:
- I set a config for file suggestion sort order
- claude makes changes to my code
- In my browser, I'm testing that those code changes work in my UI
- I take a screenshot
- I go to claude and start using
@~/dir-to-screenshot/and receive a creation date sorted list of files to scroll through - My new screenshot would be the first suggestion so I just tab to it and keep writing my prompt without interruption
Additional Context
_No response_