gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Using "@" to add context doesn't add a space after selecting a file/folder reference

Open buck-0x opened this issue 1 year ago • 3 comments

Describe the bug After typing "@" and selecting a context reference, I would expect a space character to be appended. Since it is not, I press tab to select a context, and then continue typing. My new text is directly appended to the context reference in the chat.

Client information CLI Version 0.1.1
Model gemini-2.5-pro
Sandbox no sandbox
OS darwin

macOS

Login information Login with Google Workspace

Additional context Minor but annoying.

buck-0x avatar Jun 25 '25 22:06 buck-0x

Good DX enhancement.

ryanjsalva avatar Jun 26 '25 00:06 ryanjsalva

https://github.com/google-gemini/gemini-cli/pull/1822

I've submitted a PR to address this issue, thank you so much for bringing up this impactful but easy to fix bug, this is my first open source contribution and it really makes things easier for me to enter the field :)

Jacky040124 avatar Jun 26 '25 07:06 Jacky040124

Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.

It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.

Thank you for your contribution!

gemini-cli[bot] avatar Dec 03 '25 21:12 gemini-cli[bot]