Edit C# code generation method names for event handlers

So I wanted to change naming rules for code generated when Rider is creating an event handler

Default is {object name}On{event name}. I basically want to get rid of the {object name} part, but I cannot find a place where it's configured.

1 comment
Comment actions Permalink


There are setting for naming rules in R#, you can export them if you are using R# and import it in Rider, but at the current moment there is no UI for changing them in Rider, here is the issue for adding UI: RIDER-8339. There is also another issue in R# for making "Create invocation event" template customizable: RSRP-486346. Please upvote for issues if this is the case you need or let me know if you have other questions. 


Please sign in to leave a comment.