HideShow Comments

Free

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

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

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

by SixOThree | August 22 2013

A few quirks, but a very welcome addition to VS.

"Code should be self documenting" is fine for people reading my code; and that's what I strive to create. But the people consuming my classes should not have to read code to understand what it does. This affords me the best of both worlds.

by Marcel Popescu | July 18 2013

Fantastic - I work on a project where it seems like every statement is commented, it was driving me crazy. Thank you!!!

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


  • Package load exception
    1 Posts | Last post Thu 5:56 PM
    • 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)
  • Option to hide comments without tooltip
    1 Posts | Last post March 12, 2015
    • Hello, would it be possible to hide comment completely - i.e. hide whole lines and don't show tooltip at all? 
      
      
  • 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?
  • AWESOME!!!
    4 Posts | Last post November 24, 2014
    • This IS a great extension!  Can you PLEASE PLEASE PLEASE also collapse Documentation as well?  And also provide a GitHub/Stash Repository so that community can contribute! :)
      
      Thanks!
    • To be clear, I want to auto-hide "///" documentation. :)
    • OOPS... never mind... looks like this fantastically awesome extension does this. :D  It just takes a little while for it to process the file to do it.  Thank you!!!
    • OK, the issue is that I have to open the file, and then click on an element in the file to make it work.  It would be ideal to have it do it automatically like "I Hate #Regions" does without having to focus/click in the file, but this is a fantastic improvement regardless.
  • Feature request - C/C++ support
    2 Posts | Last post August 19, 2014
    • Hello, this could be a very useful plugin, but it supports C# only. :(
      Is it difficult to porting for simple C and C++ codes?
      
    • I too would love to see this work in C++ as well.  Great work.  Love the tool!
1 - 10 of 25 Items