HideShow Comments

Free

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

(24) Review
Visual Studio
2013, 2012, 2010
Download (7,170)
1/27/2014
2.1.2
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (24)
Q and A (27)
Sign in to write a review
Sort by:

by Rafael Wolf | Wed 7:14 PM

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"

Thanks.

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 Michael-DragonSpark | 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:
http://pastebin.com/RNvETPnJ
I can't contact 3dGrabber. Please tell him if you can.

3dGrabber May 21 2014
| Edit |
Delete

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# :)

by Scott Beeson | November 04 2013

Seems cool, but does not work in javascript files which is what I needed

3dGrabber November 05 2013
| Edit |
Delete

"Works only for C# so far", clearly stated in the description.
I'm looking into supporting more languages in the future.

by t-graham | October 01 2013

Great job. These really should be standard functions in VS.

by Oren Trutner | September 09 2013

Fabolous -- thank you!

by Jan Roelof de Pijper | August 24 2013

This is bloody marvelous! Thank you very much for this contribution.
I try to be consistent with providing XML comments for documentation and tooltip help, but these comments do tend to make the code (much) less readable. This extension is a godsend for me.

Perfection for me would be reached if there was an option to (temporarily) hide commented lines completely, so without even the callout icon. For me this would make the (more compact) code even more readable.

Jan Roelof

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


  • VS2015 Support
    1 Posts | Last post June 08, 2015
    • Please update for use with VS2015 otherwise, please open source it so that others can maintain the extension.
  • Option to hide comments without tooltip
    2 Posts | Last post June 04, 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.
  • 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: '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)
  • 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.
      Larry
  • NullReference exception
    1 Posts | Last post February 05, 2015
    • When typing the following text in editor: 
      private static Dictionar<Type, Func<object>> Creators = new Dictionary<Type, Func<object>>()
      {
          { typeof(IServiceType), (
      }
      
      when I'm about to write the '(' visual studio crashes with the following exception:
      System.NullReferenceException was unhandled
        HResult=-2147467261
        Message=Object reference not set to an instance of an object.
        Source=HideShow.Implementation
        StackTrace:
             at HideShow.Implementation.Tagger.avfavsa.asdbb(Exception exception)
             at System.Reactive.AnonymousSafeObserver`1.OnError(Exception error)
             at System.Reactive.Linq.Observable.Select`2._.OnError(Exception error)
             at System.Reactive.Linq.Observable.Where`1._.OnError(Exception error)
             at System.Reactive.Linq.Observable.Buffer`1._.OnError(Exception error)
             ...
  • Toolbar button state not remembered
    1 Posts | Last post January 15, 2015
    • The state of the toolbar buttons is not being remember when I close/reopen VS (I'm working on the same solution) - is this even possible? I'd like comments to be hidden by default, so I have to push 2 of the toolbar buttons each time I reopen VS. 
  • Error when run with VSCommands with VS2013.
    5 Posts | Last post December 23, 2014
    • Hi,
      
      This is a great extension, but I have a clash with the equally awesome VSCommands extension on VS2013 Ultimate. It works fine when that extension is disabled, but if they are both enabled I get the following errors in my ActivityLog:
      
        <entry>
          <record>665</record>
          <time>2014/02/25 13:31:07.197</time>
          <type>Information</type>
          <source>VisualStudio</source>
          <description>Begin package load [HideShow.Package.Package, HideShow.Package, Version=2.1.2.0, Culture=neutral, PublicKeyToken=96af82921a3c7625]</description>
          <guid>{EEF6B219-38CB-482A-9B2D-7582DF4AAF1E}</guid>
        </entry>
        <entry>
          <record>666</record>
          <time>2014/02/25 13:31:07.225</time>
          <type>Error</type>
          <source>VisualStudio</source>
          <description>SetSite failed for package [HideShow.Package.Package, HideShow.Package, Version=2.1.2.0, Culture=neutral, PublicKeyToken=96af82921a3c7625]</description>
          <guid>{EEF6B219-38CB-482A-9B2D-7582DF4AAF1E}</guid>
          <hr>80131511</hr>
          <errorinfo>Field not found: 'HideShow.Implementation.Integration.sdsdbswsdber.asdbvsdb'.</errorinfo>
        </entry>
        <entry>
          <record>667</record>
          <time>2014/02/25 13:31:07.227</time>
          <type>Error</type>
          <source>VisualStudio</source>
          <description>End package load [HideShow.Package.Package, HideShow.Package, Version=2.1.2.0, Culture=neutral, PublicKeyToken=96af82921a3c7625]</description>
          <guid>{EEF6B219-38CB-482A-9B2D-7582DF4AAF1E}</guid>
          <hr>80131511</hr>
          <errorinfo>Field not found: 'HideShow.Implementation.Integration.sdsdbswsdber.asdbvsdb'.</errorinfo>
        </entry>
        <!-- SNIP -->
        <!-- CONTINUED IN NEXT POST -->
      
    •   <entry>
          <record>671</record>
          <time>2014/02/25 13:31:08.129</time>
          <type>Error</type>
          <source>Editor or Editor Extension</source>
          <description>System.MissingMethodException: Method not found: &apos;System.IObservable`1&lt;!!0&gt; System.Reactive.Linq.Observable.ObserveOn(System.IObservable`1&lt;!!0&gt;, System.Reactive.Concurrency.IScheduler)&apos;.&#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)</description>
        </entry>
    • Hey Buddy,
      
      The problem is with the way he has obfuscated his code. He is loading Microsoft's reactive assemblies from his own resources and that is conflicting with the way they are loaded in VSCommands. I could easily fix it for personal use by manipulating his DLL. 
      
      Hopefully in the next release he will put Microsoft assemblies outside his DLL
    • I am running into this problem, too... this project needs a serious case of the GitHubs. :P
    • Me too. Causes exception.
  • Customisable pattern for lines to hide
    2 Posts | Last post December 19, 2014
    • I want to only hide certain comments (in my case, ones which start with "// ReSharper disable"). Would be great if the user could enter a custom pattern and only hide lines which match the pattern.
    • I agree Seb ... that'd be awesome!
  • It does not work in VB projects
    1 Posts | Last post December 03, 2014
    • Could you make it work in VB projects?
1 - 10 of 27 Items