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

Filtering completion list should be case insensitive

Open NTaylorMullen opened this issue 1 year ago • 4 comments

When trying to @ content you may not know the full name of the file you're looking for or the case. I just ran into this typing @Gemini and then not realizing that all of the files I was interested in were lower case gemini instead.

NTaylorMullen avatar May 26 '25 22:05 NTaylorMullen

@NTaylorMullen if it is case insenstive, does the logic today suffice on what comes first? I comparing on toLower() seems the most practical option.

scottdensmore avatar May 31 '25 16:05 scottdensmore

@NTaylorMullen if it is case insenstive, does the logic today suffice on what comes first? I comparing on toLower() seems the most practical option.

No, BUT it is an incremental improvement IMO.

There's other improvements that need to be made here as well. i.e.: https://github.com/google-gemini/gemini-cli/issues/562

NTaylorMullen avatar May 31 '25 19:05 NTaylorMullen

I can't reproduce this. For example, I'm @-ing in the root of gemini-cli and if I type "lic" the LICENSE file is filtered and can be selected.

bdmorgan avatar Jun 01 '25 11:06 bdmorgan

This is fixed with https://github.com/google-gemini/gemini-cli/pull/659

scottdensmore avatar Jun 01 '25 16:06 scottdensmore