# collapse all comments

**URL:** <https://forum.kirupa.com/t/collapse-all-comments/662417>\
**Category:** Uncategorized\
**Created:** [October 17, 2023, 2:22pm UTC](https://forum.kirupa.com/t/collapse-all-comments/662417 "2023-10-17T14:22:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbo](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tbo](https://forum.kirupa.com/u/tbo)\
**Post date:** [October 17, 2023, 2:22pm UTC](https://forum.kirupa.com/t/collapse-all-comments/662417/1 "2023-10-17T14:22:23Z")

</div>

funny i cant seems to find the best solution for this. I use visual studio code at the moment.

I want to bloat up my functions for generating auto documentation using

```auto
/// <summary>
/// hi
/// </summary>
/// <param name="color"></param>

```

I also have some standard one line comments and block comments

I don’t want to look at these big cluttered summary’s and they really are for generating documentation only.

how is this usually handled?  
I can find shortcuts to collapse block comments, or regions, i cant seem to collapse everything.

do you wrap these in regions and close all regions? or close all regions of a specific name?

I suppose what i really want is to never look at these summary comments but leave the rest, but closing all comments is prob ok too

---

<div class="post-metadata">

**Author:** ![PAEz](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/paez/32/19607_2.png) [@PAEz](https://forum.kirupa.com/u/PAEz)\
**Post date:** [October 17, 2023, 2:55pm UTC](https://forum.kirupa.com/t/collapse-all-comments/662417/2 "2023-10-17T14:55:03Z")

</div>

That would be `Fold all Block Comments` in the Command Palette yeah?  
Ctrl + K and then Ctrl + /

---

<div class="post-metadata">

**Author:** ![tbo](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tbo](https://forum.kirupa.com/u/tbo)\
**Post date:** [October 18, 2023, 9:07pm UTC](https://forum.kirupa.com/t/collapse-all-comments/662417/3 "2023-10-18T21:07:25Z")

</div>

well then…[https://media.tenor.com/H5Zo4HxhzQ8AAAAd/window-fuckit.gif](https://media.tenor.com/H5Zo4HxhzQ8AAAAd/window-fuckit.gif)

i feel dumb swear i thought i tried that. I suppose i was confused thinking a block comment had to be wrapped in /\* \*/

---

<div class="post-metadata">

**Author:** ![steve.mills](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/steve.mills/32/14961_2.png) [@steve.mills](https://forum.kirupa.com/u/steve.mills)\
**Post date:** [October 18, 2023, 10:27pm UTC](https://forum.kirupa.com/t/collapse-all-comments/662417/4 "2023-10-18T22:27:56Z")

</div>

Yeah thats what a block comment is to me…

---

<div class="post-metadata">

**Author:** ![tbo](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tbo](https://forum.kirupa.com/u/tbo)\
**Post date:** [October 20, 2023, 1:22am UTC](https://forum.kirupa.com/t/collapse-all-comments/662417/5 "2023-10-20T01:22:15Z")

</div>

By the way I meant to say, yes that worked thanks
