Event handler Naming

How can I suppress warnings about VS generated event handler names? Something like: Object_HandleEvent
This question has been asked in March 2009 and the answer was that a patch in Resharper would hide them.
I could not figure out how to turn this feature on (or to turn the warning off).


Comment actions Permalink

Hello Alex
     This problem should get fixed in the upcoming ReSharper 5.0. You can try the nightly builds at http://www.jetbrains.net/confluence/display/ReSharper/ReSharper+5.0+Nightly+Builds. Thank you!

Andrey Serebryansky

Support Engineer

JetBrains, Inc


"Develop with pleasure!"

Comment actions Permalink

Hello Andrey,
can you give me a hint if and how this issue has been solved?

Visual Studio generated event handler are named like btnAddSomething_Click wich is in conflict with all naming conventions I can choose in resharper.
I could add something like lowerCamelCase with suffix _Click but there are to much possible events. Is there some simple way now? (something like * usable for prefix maybe?)

Best regards,

Comment actions Permalink

Agreed.  I'd love to know if there was a simple way around this.

Comment actions Permalink

Any progress on this?

EDIT: I found the answer in this thread.

Message was edited by: Brian Baker


Please sign in to leave a comment.