Live templates: Inserting fields at the top of the class?

I've created a Live Template for generating a specific property implementation I need with an associated backing field.  Is there any way to have the backing fields automatically inserted at the top of the class rather than along side the property?  Currently, I have to manually move all of the fields which I'd rather not have to bother with. :-)


1 comment
Comment actions Permalink

Hello Jeremy
     I'm afraid this is not possible at the moment. You can run Code Cleanup with 'Reorder members' option turned on after creating such property, so that ReSharper will group fields together. Thank you!

Andrey Serebryansky

Software Developer

JetBrains, Inc

"Develop with pleasure!"


Please sign in to leave a comment.