Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As MS Visual C++ users know, the program allows you to collapse comment blocks. But, unfortunately, it simply collapses ALL comments from the first one to the first non-commented text. For example, given code that looks like this: enter image description here
(where the first two blocks are commented-out code), an attempt to collapse the first block causes all three code blocks to disappear, including the title of the last, non-commented block. This is the result: enter image description here
I want to have a [+] for each of the three blocks, or at least, to keep the /*Rainbow for display range*/ title visible, while the rest is hidden.

share|improve this question
Which version of Visual Studio are you using? – heavyd Feb 27 '13 at 23:25
Microsoft Visual C++ 2010 Express (added in title now), thank you for your comment. – Tomáš Zato Feb 27 '13 at 23:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.