Removing regions with code cleanup
I've modified my "Type Members Layout" to remove all regions with this:
<?xml version="1.0" encoding="utf-8" ?>
<Patterns xmlns="urn:shemas-jetbrains-com:member-reordering-patterns">
<Pattern RemoveAllRegions="true">
<Entry />
</Pattern>
</Patterns>
When I run code clean up, #region sections get cleaned up (mostly).
If a region is inside a method for example, it does not get cleaned up.
Is there a way to clean up ALL regions in the code?
Thanks
Ertan Zanagar
Please sign in to leave a comment.
That is the correct behavior.
The Type Member Layout feature deals only at declaration-level, it doesn't
modify the method contents
--
Eugene Pasynkov
ReSharper Technical Lead
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"
"Ertan Zanagar" <no_reply@jetbrains.com> wrote in message
news:26098345.67181232047269819.JavaMail.clearspace@app4.labs.intellij.net...
>
>
>
>
>
>
>