-2

Searched for an answer but did not find any...

adding a region such as

#region XXXXXX
   .
   . {code here}
   .
#endregion

collapses into

enter image description here

is it not possible to name regions? Quite downgrades the feature... you end up having several collapsed areas in your code and you have no idea what they do (unless you add comments above them...)

Veverke
  • 9,208
  • 4
  • 51
  • 95
  • I don't see why this question "shows no research efforts" or might be "not useful"... did not find any answers for it, and I think the question is nothing less than legitimate: if the feature was taken from VS IDE's regions, not being able to name them does not make them as useful as in VS IDE... – Veverke Aug 06 '14 at 13:30

1 Answers1

1

Someone from my team solved the issue...

here is the answer:

enter image description here

enter image description here

I was adding a space between the double slashes and the "#region" directive...
Removing that space... makes the region name be displayed.

Veverke
  • 9,208
  • 4
  • 51
  • 95