Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there are an option to fold my code in Rider?

Is there are an option to fold my code in Rider?

At least right now I do not see it, so is it possible to enable it in settings somehow?

enter image description here

I mean something like an arrowhead.

Going to Editor | General | Code Folding does not help at all. Here are my default settings:

enter image description here

Thank you.

like image 727
iamyourfriend Avatar asked Feb 04 '26 11:02

iamyourfriend


2 Answers

It's a known issue. Here is the support ticket that was updated 5 days ago:

https://youtrack.jetbrains.com/issue/RIDER-10523 that succeeds https://youtrack.jetbrains.com/issue/RIDER-15648

like image 179
Jeremy Thompson Avatar answered Feb 06 '26 00:02

Jeremy Thompson


In addition to having the correct things checked in File | Settings | Editor | General | Code Folding, what worked for me was ALSO going to File | Settings | Editor | Inspection Settings and ticking Enable code analysis, and magically all my code folding arrows appeared and syntax highlighting started working.

like image 28
kallotec Avatar answered Feb 06 '26 00:02

kallotec



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!