Do CamelHumps work when selecting a method to override?

When I try to override a method in a class, a list of overridable methods appears. I'd expect to be able to use CamelHumps to select an item in the list, but that doesn't work. Is ReSharper supposed to support this?

3 comments
Comment actions Permalink

Hello Dick,

Could you please provide two code samples:
- The one you'd like reSharper to create
- The one ReSharper does actually create

Thanks in advance!

0
Comment actions Permalink

Hi Alex,

Well, I don't think code samples are really what you need. Maybe a screenshot will help explain what I mean.

I create a new Windows Forms application and go to the code for Form1. Now let's say I want to write an override for the OnBackColorChanged method. So after typing override and a space, I type in obc for OnBackColorChanged. Because of CamelHumps, I'd expect to automatically jump to OnBackColorChanged in the list, but it doesnt. It just jumps to the first entry starting with O.
CamelHumpsNotWorking.png

I'd expect the same behavior as when I type obc inside a method.
CamelHumpsWorking.png

0
Comment actions Permalink

Hi Dick,

Thank you very much for the additional explanation. I've confirmed this one as an issue and logged it here in YouTrack for further fixing: http://youtrack.jetbrains.com/issue/RSRP-336191.

Thanks for your report.

0

Please sign in to leave a comment.