Editor>CodeStyle>C# Indent Code following a Defining Preprocessor Symbols

My work's code style requires us to indent our code following a Defining Preprocessor Symbols. I couldn't find a way to add this rule to Riders Code Style and therefore cannot auto-format a file.

0
1 comment

Hi,

It seems that "File | Settings | Editor | Code Style | C# -> Tabs, Indents, Alignment -> Preprocessor Directives / Indent other preprocessor directives" should help. Please, take a look. 

 

K.R.

Sofia

0

Please sign in to leave a comment.