Fold and unfold compiler directives?

Hello all,

Is there a way to fold and unfold compiler directives such as:
#If TargetWindows and DebugBuild Then
Print “Greeting Updated”
#Endif

Would make it a lot easier to read, especially when there are lots of them.

Thanks,
Tim

You can did exactly that though. Am I missing something?

Maybe I used the wrong words. What I want to do is to use those boxes with the + in it to hide/show the code. Like if/then statements.

Tim

What version are you using? It does that for me in version 2021r2.