ReSharper doesn't apply type layout -


i've missed extremely obvious setting, no matter try, can't resharper apply type layout (neither own nor default ones).

(using resharper 10.0.0.2 ultimate trial)

i made quick type layout in visual designer, generated xaml:

<?xml version="1.0" encoding="utf-16"?> <patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns">   <typepattern displayname="default">     <entry displayname="fields">       <entry.match>         <kind is="field" />       </entry.match>     </entry>     <entry displayname="methods">       <entry.match>         <kind is="method" />       </entry.match>     </entry>   </typepattern> </patterns> 

i did full code cleanup, custom profile (as seen below, "apply file template" selected) nothing reordered:

edit: seems resharper did move things in some files of project, no means fields/methods (no matter access or static) put in right order.

turns out indeed obvious. apparently regions in code (despite grouped methods/properties already) prevented layout being applied.


Comments