Rider removing line break after @using statement in razor file

There seems to be a code style setting for razor pages that causes Rider to remove the line break between the last "@using" statement and the first line of content. Can anyone help me figure out which setting it is?

Current Behaviour:

@using SomeImport
<div>
</div>
 
Desired Behaviour:
@using SomeImport

<div>
</div>
 
0
2 comments

Could you check out Editor -> Code Style -> ASP.NET (Razor), especially this settings (maybe they help):

0
Hello Sfields,

Would you mind confirming if solution Sascha suggested helps?
0

Please sign in to leave a comment.