[215] Go to type using the capitalized letters not always works correctly

Sometimes when I try to go to a type using Ctrl + N the expected item is not
always selected in the appearing list.

I have a class name PieBarChartHost and several other classes that start
with PieBarChart. So normally when I type "PBCH" I except PieBarChartHost to
be selected which it does correctly. Now for some reason when I enter "pBCH"
with a small "p" the list is narrowed down correctly to everything that
starts with PieBarChart but the PieBarChartHost is not selected. Howevery
when I enter "pBCR" it actually selectes PieBarChartRenderer.

I have opened different solutions and closed the IDE serveral times but I
can reproduce this everytime.

See the screenshots

Gabriel Lozano-Morán
MCSD .NET
Real Software
http://www.realsoftware.be
http://www.realdn.net






Attachment(s):
ctrl+n_screen1.png
ctrl+n_screen2.png
1 comment
Comment actions Permalink

Hello Gabriel,

This is an expected behavior.
Note that PieBarChartContextMenuHandler is ie[B]ar[Ch]artContextMenuHandler.
When you use only lower casing ReSharper searches substring. When you use
capital casing (as is the case when you type "PBCH") ReSharper searches for
word acronyms. When you use mixed casing ReSharper applies both strategies.
Thus, when you type "pBCH" PieBarChartContextMenuHandler occurs in the list
and is selected.

FYI, you can use Tab to complete common prefixes in Ctrl+N.

Sometimes when I try to go to a type using Ctrl + N the expected item
is not always selected in the appearing list.

I have a class name PieBarChartHost and several other classes that
start with PieBarChart. So normally when I type "PBCH" I except
PieBarChartHost to be selected which it does correctly. Now for some
reason when I enter "pBCH" with a small "p" the list is narrowed down
correctly to everything that starts with PieBarChart but the
PieBarChartHost is not selected. Howevery when I enter "pBCR" it
actually selectes PieBarChartRenderer.

I have opened different solutions and closed the IDE serveral times
but I can reproduce this everytime.

See the screenshots

Gabriel Lozano-Morán
MCSD .NET
Real Software
http://www.realsoftware.be
http://www.realdn.net

Thanks,
Andrey Simanovsky


0

Please sign in to leave a comment.