Code cleanup should place destructor after constructors
Hello!
I'm using ReSharper 4.0 with Visual Studio 2008. I would like the code cleanup feature to place the destructor right after the last constructor. This is what StyleCop wants and I like it too. From what I understand I would have to modify the Type Members Layout Patterns. What modification would I have to do?
Thanks in advance!
Please sign in to leave a comment.
Please visit options page: ReSharper->Options->C#->Type Member Layout, then
uncheck the "default" box, and edit the pattern
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Daniel Lidstrom" <no_reply@jetbrains.com> wrote in message
news:19977024.70921215003711759.JavaMail.jive@app4.labs.intellij.net...
>
Yes, I got that part :) I was a bit afraid of editing the xml, but it was really straight forward once I understood its contents. For those who would like to do the same, here's my content:
...snip...
<!
Constructors. Place static one first>]]>
...rest of it
Edited by: Daniel Lidström on Jul 2, 2008 6:48 PM