Generate Method from Event Handler

So I just started using JetBrains Rider today, migrating from Visual Studio. I am coding (C#) an event and in Visual Studio I could just hit ALT + ENTER to have it generate a method from the code I had but it seems like Rider can't do that? When I hit ALT + ENTER in Rider it gives me a bunch of code generation options but the option I am looking for isn't there. Any help is appreciated I am sure the solution is right in front of my eyes and I am just missing something!

Example Code

_controls.Character.Movement.performed += OnMovementPerformed;

The method I am trying to get it to generate:

private void OnMovementPerformed()
{
    throw new NotImplementedException();
}

0
1 comment

Hello, Bluemanafox ,

which type is _controls.Character.Movement.performed in your case?

0

Please sign in to leave a comment.