0

I have multi regions in one class.
Maybe like #regionA, #regionB...
If I use auto generate method, the method will be in buttom of the class and out of any region.
Is there a way to move the method to the certain region in that class?
Thanks for help.

rino
  • 1
  • 2
  • You could create a custom file layout ([see here](https://www.jetbrains.com/help/resharper/File_and_Type_Layout.html#file-and-type-layout-preferences)) and place all methods with certain properties (e. g. `private` or `static`) in a region. When applying the file layout (e. g. on commit), the code will be rearranged. – mu88 Aug 03 '22 at 05:56
  • I know the custom layout, but I want to set region of usage so this doesn't work. – rino Aug 03 '22 at 07:34
  • I think that's not possible, at least I don't know – mu88 Aug 03 '22 at 08:12

0 Answers0