Disable Reformate if using sourround with region

Hi,
would it be possible to disable Reformat of code if execute "sourround with region" ?

Thanks
Reagards
Marcus

4 comments
Comment actions Permalink

Hello Marcus
     Do I understand correctly that you'd like to prevent ReSharper from formatting certain regions of code? Thank you!

Andrey Serebryansky

Software Developer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0
Comment actions Permalink

Hi Andrey,
no, i mean when i use the "C# Surround with region" feature, it but the #region / #endregion syntax arround the selected code and also reformat the code inside the region, i want to disable this reformatting by use the "surround with region" ..

Thanks
regards
Marcus

0
Comment actions Permalink

Did you ever find an answer to this?    I've edited the template for #region and unchecked the Reformat checkbox, but that doesn't help.  :(

0
Comment actions Permalink

Hi, no unfortunately not :|

0

Please sign in to leave a comment.