4
votes

In Rider, C# #regions will be shown as auto-collapsed in the Structure pane. If you open the region in the structure pane then make any edit anywhere in the open file they auto-collapse again.

Is there any way to change this behavior? I'd like to default them open and edits to not make any difference to the collapse state.

1

1 Answers

3
votes

you can change this in Preferences | Editor | General | Code Folding