Is it possible to generate class & multiple members by usage?

Can resharper do this?

var c = new ClassThatDoesntExist();

c.Amount = 3;

c.AccountName = "Mike";


Then hit some magic key combination and it generates the class, two properties, method stub.

If not, I'd like to suggest it as a feature, it would be insanely useful.

I realize that resharper can do this in multiple operations.
Comment actions Permalink

That would be, as you say, insanely useful.

Comment actions Permalink

Hello Mike,

Thank you for feedback! There's a similar feature request:
and you're welcome to vote for it.

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
"Develop with pleasure!"


Please sign in to leave a comment.