Just recently when I started documenting some of my own source code, which did not have any documentation comment blocks inside it up to this point, I recognised how disturbing these documentation blocks really are when trying to read the actual code that is embedded between them.
You can see this in each software project that uses such tools for documenting its API (e.g. have a look at OgreRoot.h from line 200 on).
Don't understand me wrong, I'm not trying to tell that documentation is bad, hell no. The more documentation an API has got the better, I'm just trying to point out how unpleasing the documentation comment blocks can be to the programmer's eye. It might be not that bad if you just look at a single method, but once you try to have a look at the overall methods of a class or you are searching for a particular method in a file manually, then it becomes a lot worse.
In my case I currently have just small documentation blocks in the named code and they will just grow with time presumably, but I already don't like how this small blocks disrupt the actual code.
To overcome the issue I created a small Visual Studio addin which will just fold in all documentation blocks of the currently active source file.
Have a look at the following screenshot...

left side: a piece of code with some small documentation blocks in it.
right side: the same code after my custom addin has been executed (it just folded all documentation blocks)
As you see at the red markings in the screenshot, you can still see the UI controls that visual studio inserts to indicate the folded documentation blocks.
In my case I just made their color nearly the same as the usual text background color, so that they are nearly invisible and aren't disturbing to the eye.
Still, those UI controls that visual studio inserts cause an (imo) unnecessary "blank" line between two methods in the source code, so it's still not perfect.
In my case I've now got the following keyboard shortcuts set up for hiding/showing documenation blocks:
ALT+A -> fold/unfold documentation block at cursor position
ALT+Y -> unfold all (documentation) blocks
ALT+S -> fold all documentation blocks (this one is provided by my addin, since this is not possible by default)
My question now would be, does somebody know of an addin that would do this even better? Because with my solution you can sill see those unnecessary blank lines/UI controls and it's possible that you accidentally erase a whole documenation block if you're not careful.
(I'm stricktly speaking of visual studio here, I know that other IDEs provide this feature out of the box
What do you think about the topic, do you know other solutions/workarrounds/visual studio addins?
Cheers




