Is there a way to change templates of 'Generate Implementation' function?

When I press Generate Implementation:

 Here's what it generates:

 

If I do it with Visual Studio light bulbs, it adds return:

Is there a way to make Resharper generate implementations the Visual Studio way, especially when I select many class members at the same time?

Visual Studio light bulbs don't allow to generate implementations for multiple members of the class with one click, only if you select it one by one.

2 comments
Comment actions Permalink

Hello!

There's no way to customize the generated text at the moment. We can add a return statement to non-void functions like VS does, would that work for you?

0
Comment actions Permalink

Yeah that would work for me. I think it will make more sense because atm it generates code that doesn't compile.

0

Please sign in to leave a comment.