Code style: Order of properties in C#

Answered

I want to adjust Rider's code style to change the order of where code is placed in classes when reformatting.

IE, Rider's default style formats classes like this:

class Foo {
variables
initializers
properties
methods
}

but what I actually want is

class Foo {
variables
properties
initializers
methods
}

Where can I change this?

0
1 comment

Hello, Eric. 

Unfortunately, this feature has not released in Rider yet. Please, feel free to upvote.

If you have ReSharper, you can configure Type layout and use ReSharper settings in Rider. Otherwise, you can follow the steps described here to create layout manually.

0

Please sign in to leave a comment.