views:

228

answers:

2
+2  Q: 

Flex code region?

Is there a way in flex (Flash Builder 4) to make regions like in c#, to group a part of the code allowing us to collapse it and see through our project more easily?

In c# it's like:

#region exammple

// my funtions I want to group

#endregion
+1  A: 

Not that I have seen. I have only found comment and function collapsing.

Jason W
Its too bad :(.
Biroka
For sure, hopefully as the IDE develops this will get added in
Jason W
+1  A: 

No, you basically have to use comments. I generally do something like

// *********************** THIS REGION IS FOR ... *************************
mattdell
the only thing I want to use regions for collapsing, not for better understanding of the code
Biroka