How to prevent Rider from outdenting my comments

This is my current setting.

 

After reformatting I get this:

 

But I would prefer this:



I have tried both selecting and de-selecting the, “Don't indent comments started at first column” but this seems to have no effect.

Any suggestions? I find this hard to read when the comments break the scope. Thanks.

0
2 comments

Hello Proofpix,

I tried to reproduce the case in my lab, but it works correctly. Such behavior might happen due to some settings.


Please attach Rider settings: File | Manage IDE Settings | Export Settings. I will try to reproduce the behavior once again with your settings, and hopefully, we can pin down the root cause of the issue.

Thank you in advance!

0

Please sign in to leave a comment.