Often when I want to specify a file with an at mark (@) in antigravity, it suggests a lot of irrelevant files that are nested deep into the folder structure (I think it orders from longest to the shortest including the path)
As a vim user, if I want to refer to a document that is already opened by vim, there is usually a .filename.txt/swp file, and it always suggested before the filename.txt.
Other example could be referring to a .py file with compiled pyc in __pycahche__folder with the same name, different extension.
There is no way that people want to refer to a metadata file / compiled files that are usually have the same name, but with more extensions and usually barried deep into the nested folder structure (they’re usually hidden). I’m pretty sure that this is not the kind of feature a flagship CLI tools by a bigtech want to have, as it creates the suggestion function completely useless.
It would be nice if this can be fixed, as I always gets annoyed pressing downarrow key so many times to get to the desired file that has the shortest name (including path) in most of the cases. It is badly compatible with vim’s workflow as well, because arrow keys are hardly used.
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Aug 24 2026 22:13:04)
Included patches: 1-16, 647, 678, 697
Modified by team+vimtrackerdebian
Compiled by team+vimtrackerdebian
I just noticed that antigravity has now version 2.0, I will try it there and see if it fixes it.
I was never notified that there is antigravity CLI version 2.0 (or are they different? I don’t know…)
Make a folder. Open this folder, make a text file with some content
``` touch tmp.txt echo "hello" > tmp.txt vim tmp.txt ```
Keep it open with vim. This creates a temporary file. Then in other terminal window, you goto the same folder and run
`agy` Then start prompting @tmp you'll have .tmp.txt.swp as the first choice.