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).

Thanks,
Alex

4 comments

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

http://www.jetbrains.com

"Develop with pleasure!"

0

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,
Sven

0

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

0

Any progress on this?

EDIT: I found the answer in this thread.

Message was edited by: Brian Baker

0

Please sign in to leave a comment.