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

Can resharper do this?

var c = new ClassThatDoesntExist();

c.Amount = 3;

c.AccountName = "Mike";

c.ApplyInterest(0.12);



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.
 
2 comments

That would be, as you say, insanely useful.

0

Hello Mike,

Thank you for feedback! There's a similar feature request: http://youtrack.jetbrains.net/issue/RSRP-47116
and you're welcome to vote for it.

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

http://devnet.jetbrains.net/message/5311873#5311873



0

Please sign in to leave a comment.