HideShow Comments


Hides comments and replaces them with a callout icon. The comments are shown as tooltip and when editing them.

(28) Review
Visual Studio
2013, 2012, 2010
Download (10,644)
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Reviews (28)
Q and A (32)
Sign in to write a review
Sort by:

by jithinje | June 22 2016

Five stars for the simplicity and efficiency. Really good extension. Exactly what I was looking for.

by KCarterSr | June 07 2016

Somebody needs to reverse engineer this! Developer AWOL!

by mark_foley | April 22 2016

As mentioned in my Q&A, this thing is incredible. I tend to leave a lot of alternative approaches or useful thoughts in comments, so being able to hide these without removing them entirely is fantastic.

The glitch with the Winforms designer no longer working is a toll I'm willing to take for the benefits, but a fix would be massively appreciated :)

by Triynko | September 08 2015

KILLER FEATURE. I cannot believe this feature has not been integrated into Visual Studio's code outlining feature sometime in the last 10 years since it first arrived in VS 2005. "Collapse Comments"? This extension is actually better as a toolbar with the ability to hide specific types of comments. Hiding documentation comments while leaving code comments can be really useful for development. Visual Studio's limited ability to hide multiline comments one at a time is pathetic. Bravo!

by Rafael Wolf | July 29 2015

I really like this extension, but, Windows Forms Designer, stopped working, and shows an error:

"object reference not set to an instance of an object"


by Nahir31 | May 20 2015

Beautiful, works perfect, thank you!

by Trung Hieu Nguyen | December 08 2014

Absolutely awesome! Work well on Unity3D C# project. Definitely recommended this :)

by Mike-EEE | November 24 2014

I can't believe I didn't find this awesome extension sooner!!!!

by pingman_matt | November 18 2014

Please allow extension to work with Shared Projects!

by Joseph_Schrag | August 19 2014

Love the tool! I've always liked XML comments for the intellisense & autodoc benefits, but they make the code look cluttered. This takes care of it.

Would love to see C++ support!

by diaconu13 | July 22 2014

I hate generated comments and this is just what I need to hide them

by goneneren | July 18 2014

by Gelo32k | May 22 2014

This thing is really helpful, Thank you.

by daf121 | May 20 2014

Good extension that fails for large solutions:
I can't contact 3dGrabber. Please tell him if you can.

3dGrabber May 21 2014
| Edit |

Poof, here I am :)
I'll look into the issue, as soon as I have some time.
Please use the Q&A tab to report issues.

by EgilB | April 29 2014

An excellent extensions that does exactly what it says on the tin. Some fresher icons that looks better with the style of vs2013 would be great, but I'm not complaining. After learning the shortcuts, it's just a matter of hiding the toolbar ;)

by ChaseCarlile | March 18 2014

The ability to change icons would make it more usable for me simply because the current ones don't quite work with my color scheme.

by Crantech Solutions Ltd | March 15 2014

Such a handy feature that is sorely lacking from the standard install of Visual Studio.

In my career as a developer, I have always strived towards best practice. One of these so-call best practices is around commenting the code that I write. One year I will argue the merits of writing nice long comment blocks before ever class and member that will support it. Other years I will follow the practice of documentation through well written names for all my elements.

Working as a contractor, it is often necessary to switch your stance based on the team decisions - or even Stylecop. This little tool allows me to not have to worry about the "right" way. I just wish that it was a part of Visual Studio or Resharper.

by docflabby | March 14 2014

Exactly what I was looking for...so many projects....so much meaningless auto generated XML help...

This cuts thought it all!

by Ricky.Stevens | January 09 2014

Legend! Thanks!

by s.wl | January 05 2014

Pretty useful extension !
It would be very greater if we could see different types of icon (shape, color...) depending on the comment nature :
- For instance XML doc with a green icon, other "classic" comments with a yellow one
- Adding some comment prefixes such as //! which indicates it is important so reduce it with a red icon
- Eventually been able to define our own prefixes and associate to a custom icon

Good work.
PS : If you plan to implement with other languages, don't forget F# :)

1 - 20 of 28 Items   
Sign in to start a discussion

  • How to make it work in VS 2015
    5 Posts | Last post October 12, 2016
    • I got it working in 2015 (not sure for how long it'll keep working, but it's working fine by now). Steps.
      1. Change the extension to "zip" or just open the file with winrar.
      2. Open extension.vsixmanifest with notepad.
      3. Add 2015 version to supported products. I just added several successive ones and it works. Of course, 2015 must be one of them (it's working after all), but not sure which one, though.
            <VisualStudio Version="14.0">
            <VisualStudio Version="15.0">
            <VisualStudio Version="16.0">
      4. Change SupportedFrameworkRuntimeEdtion line to (same here, not sure if VS2015 is 5.0 or 6.0, so I put the higher number just in case):
          <SupportedFrameworkRuntimeEdition MinVersion="4.0" MaxVersion="6.0" />
      5. Be careful to include the decimal. VS checks string length, and writing MaxVersion="6", for example, won't work.
      6. Save.
      7. If unzipped, zip back (be aware to zip to files, not the folder) and change the extension to vsix.
      8. Install and restart, the toolbar that allows to hide comments should appear now.
    • Man! You're the best! Thx so much for your solution as well as for showing that vsix is just zip and you can easily modify stuff inside :)
    • Thanks for the great tip! Worked for VS 2015 Community Edition (14.0.25422.01 Update 3). Only needed to add the following to the extension.vsixmanifest file.
            <VisualStudio Version="14.0">
    • Perfect! You are awesome :). Worked great.
    • hahahahah, man i love how you resolve it, works like a charm ! 
  • VS 14.0.25425.01 Update 3
    1 Posts | Last post August 12, 2016
    • System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at HideShow.Implementation.Tagger.avfavsa...
      Does anybody know how to fix it?
  • Amazing extension with one glitch
    1 Posts | Last post April 22, 2016
    • This thing is a revelation!  Did have to edit it per JuanNacho's post below, which works instantly.
      However I do have the issue reported below - Winforms designer now fails to show up, saying 'Object reference not set to an instance of an object.'  A fix would be amazing, or please put the code on github so others can have a poke around :)
      Thanks 3dGrabber!
  • VS2015
    2 Posts | Last post March 01, 2016
    • This looks like a great addin but it doesn't support 2015. Will you please update it, or open source it so the community can update it. Could you respond to let us know if this is something you are working on. 
    • Eagerly waiting for VS2015 version!!!
      Plz, plz, plz! =)
  • Crash bug
    2 Posts | Last post January 17, 2016
    • There's a crash bug in this that seems to be related to intellisense.  With this plugin enabled, visual studio will crash consistently when typing space or period within an object initializer (e.g. new Dictionary<string,string>() {{"key", crash when typing space or period here},{"key","value"}}).  Disabling the plugin prevents the crash, and reenabling plugin makes the crash reappear.  Something needs fixed.
    • I attached a debugger to Visual Studio and caught the following exception: "An unhandled exception of type 'System.NullReferenceException' occurred in HideShow.Implementation.  Additional information: Object reference not set to an instance of an object."
  • VS2015 Support
    8 Posts | Last post October 28, 2015
    • Please update for use with VS2015 otherwise, please open source it so that others can maintain the extension.
    • I wait this tool too, today install VS2015 and prepare the IDE with great tools, this is the one.
    • I've also found this very useful to get rid of those 'waste of space' comments.
      I added VS2015 using Julie's manifest trick, http://thedatafarm.com/data-access/installing-ef-power-tools-into-vs2015/
      But didn't work. Package installed OK, but failed when VS started.
    • >>Please update for use with VS2015 otherwise, please open source it so that others can maintain the extension.
    • Yes, Please add 2015 :)
    • Indeed, something I really want to use in Visual Studio 2015! :)
      +1 for open source!
    • >> I added VS2015 using Julie's manifest trick, http://thedatafarm.com/data-access/installing-ef-power-tools-into-vs2015/
      >> But didn't work. Package installed OK, but failed when VS started.
      Change this line as well and it does work in VS15.
      <SupportedFrameworkRuntimeEdition MinVersion="4.0" MaxVersion="5.0" />
    • >> Change this line as well and it does work in VS15.
      Unfortunately, with me it still does not work. Installs OK, but throws exception when project is loaded: 
      System.TypeLoadException: Inheritance security rules violated by type: 'System.Reactive.Concurrency.DispatcherScheduler'. Derived types must either match the security accessibility of the base type or be less accessible.
         at System.Reactive.Linq.DispatcherObservable.ObserveOnDispatcher[TSource](IObservable`1 source)
         at HideShow.Implementation.Tagger.avfavsa..ctor(ITextView ava, IOutliningManager sdb)
         at HideShow.Package.CsCommentTaggerProvider.<>c__DisplayClass1.<sdfsdfgh>b__0()
         at Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func`1 creator)
         at HideShow.Package.CsCommentTaggerProvider.sdfsdfgh(ITextView svbsd, ITextBuffer asdg)
         at HideShow.Package.CsCommentTaggerProvider.Microsoft.VisualStudio.Text.Tagging.IViewTaggerProvider.CreateTagger[T](ITextView textView, ITextBuffer buffer)
         at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers(ITextBuffer textBuffer)
      I do hope an official 2015 version will come soon!
      Jan Roelof
  • Option to hide comments without tooltip
    3 Posts | Last post October 05, 2015
    • Hello, would it be possible to hide comment completely - i.e. hide whole lines and don't show tooltip at all? 
    • Please, an option to hide the tool tips would be very nice.
    • do you have any plan to support VS 2015 already?
  • VS 2015 Support
    1 Posts | Last post June 03, 2015
    • Wishing for VS 2015 support with the new universal platform for Windows 10. Looks like a great tool--also any chance of open-sourcing this to increase usage?
  • Package load exception
    1 Posts | Last post April 16, 2015
    • I really like the concept but was unable to load this package in visual studio 2013 ultimate. I get the following error in the activity log.
      System.TypeLoadException: Inheritance security rules violated by type: &apos;System.Reactive.Concurrency.DispatcherScheduler&apos;. Derived types must either match the security accessibility of the base type or be less accessible.&#x000D;&#x000A;   at System.Reactive.Linq.DispatcherObservable.ObserveOnDispatcher[TSource](IObservable`1 source)&#x000D;&#x000A;   at HideShow.Implementation.Tagger.avfavsa..ctor(ITextView ava, IOutliningManager sdb)&#x000D;&#x000A;   at HideShow.Package.CsCommentTaggerProvider.&lt;&gt;c__DisplayClass1.&lt;sdfsdfgh&gt;b__0()&#x000D;&#x000A;   at Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func`1 creator)&#x000D;&#x000A;   at HideShow.Package.CsCommentTaggerProvider.sdfsdfgh(ITextView svbsd, ITextBuffer asdg)&#x000D;&#x000A;   at HideShow.Package.CsCommentTaggerProvider.Microsoft.VisualStudio.Text.Tagging.IViewTaggerProvider.CreateTagger[T](ITextView textView, ITextBuffer buffer)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers(ITextBuffer textBuffer)
  • Does Nothing - StyleCop ReSharper GhostDoc
    1 Posts | Last post February 19, 2015
    • I am running VS 2013 with other tools as well and it does nothing at all. I have had it installed for some time now and I do believe that it once worked. I uninstalled and re-installed it today and it does nothing at all that I can tell.
      It is a good idea.
1 - 10 of 32 Items