JSEnhancements

Free

Some useful features for Visual Studio JavaScript and CSS editors - outlining and matching braces highlighting

(58) Review
Visual Studio
2010
Download (54,780)
4/1/2012
1.4.1
E-mail Twitter del.icio.us Digg Facebook
Add To Favorites
Description
Reviews (58)
Q and A (18)
Sign in to Write a Review
Sort By:

by Ehsan Mohammadi | March 24 2012

Thanks, Very useful

by chris_sinclair | March 12 2012

by Ashraf Sabry | February 18 2012

by Scott Beeson | December 20 2011

This is just the greatest thing ever. I can't tell you how valuable it is being able to collapse and regionalize my CSS and javascript.

Would give 6 stars if it had context menus to collapse/expand all or collapse highlighted code (and if 6 stars were possible).

Great work!


p.s. ++ for the name and avatar too.

by Daniel Zapf | December 06 2011

by Studlyed | November 23 2011

Abosultely outstanding! Easy, clean, simple. Made my month. :D Keep up the good work.

by Santhosh Sivarajan- | November 10 2011

Good job guys!

by Daniel Cheida | November 05 2011

Great tool

by kenneth_scott | September 20 2011

best thing since sliced bread! great job-

by mikek400 | September 11 2011

Very useful. Being able to set collapse to definitions when opening a JS file means I don't have to search for another extension that does this. Thanks. --Mike

by Noel Abrahams | September 04 2011

Does what it says on the tin. Thanks a lot.

by jbro12345 | August 17 2011

Works great!

by kevinLakeMary | July 19 2011

regions are great! thank you

by Rechousa | July 15 2011

Very simple and cool tool! Thanks

by Derbis75 | July 14 2011

OK

by Stefan Prodan Dev | June 20 2011

A Must have add-on for MVC projects. I rely hope this feature will get implemented in VS.NET 2012

by Ed Price - MSFT | June 04 2011

by Anonymus1 | June 02 2011

Would love to have context menu in the editor to collapse outlining like I can do with .cs files etc.

by Matthew Manela | May 24 2011

by csicky | May 17 2011

Finally i can arrange my js code!

Thank You!

1 - 20 of 58 Items   
« First   < Prev   1  2  3    Next >   Last »
Sign in to Start a Discussion


  • Can't get syntax highlighting
    2 Posts | Last Post February 29, 2012
    • Syntax highlight doesn't seem to work for .js files
      I get everything black, except string literals which are blue
      
      Functions are folding OK
      region does not fold.
      
      I have disabled all other extensions 
    • This is strange because JSE should not affect highlighting. Do you have this issue on all js files or just some of them? If you disable JSE, does it get fixed?
  • Comparison with Web Essentials
    1 Posts | Last Post December 23, 2011
    • Hi,
      
      This is a great extension I should first say. Was just curious that since Web Essentials extensions has also come out with what looks like similar features (plus other stuff) can you comment on whether you think there is a bit of overlap between the two (maybe you two could somehow collaborate together to use the best of both?)
      
      Thanks!
  • Collapse to definitions + IIFE
    2 Posts | Last Post November 30, 2011
    • Hey! You've done a great work indeed!
      
      One issue to improve:
      I checked the Collapse to definitions option.
      When the js is wrapped in IIFE, inner methods are not collapsed. F.x. one() is not collapsed, but the top level anonymous fx is.
      
      (function($){
        function one(){
          ....
        }
      })(jQuery)
    • My implementation of Collapse to defintions is not very intelligent, it just collapses all top-level blocks. Maybe I'll find some time to improve it.
  • Are regions supposed to work in CSS files?
    2 Posts | Last Post July 10, 2011
    • Are regions supposed to work in CSS files?
    • Yes. The syntax is slightly different:
      
      /*#region [Region Name]*/
      
      /*#endregion*/
  • So what does the icon for this tool have to do with the tool itself?
    2 Posts | Last Post June 04, 2011
  • Is it legal to use it in Visual Studio Shell?
    2 Posts | Last Post May 26, 2011
    • Greetings,
      
      Thanks for the good addin
      
      Is it legal to use it inside Visual Studio Shell?
    • I don't know much about the Shell, but if my extension works there, you are free to use it.
  • Region expanding/collapsing issue
    4 Posts | Last Post May 26, 2011
    • Thanks for the extension I think it is a big help in organizing JavaScript files.  When I installed the extension yesterday expanding/collapsing of functions and regions worked fine.   For some reason though the expand/collapse node for region is only showing up after a file has been edited.  This problem doesn't happen with functions.
    • Hi
      I suppose it'a conflict with another extension. Do you have any other extensions installed, especially those with similar functionality? Does this issue appear if you disable all other extensions?
    • I don't have any other extensions installed.  What's happening is that a few seconds after I put a line break after the start of //#region the expand/collapse node shows up.  I thought that TFS might somehow be having an impact on this so I started a new website not under source control and found that the same thing is happening.  
    • Can you send me this website and screenshot of JSE settings to ryder86@gmail.com?
  • Does this work with the Visual web developer 2010 express edition?
    2 Posts | Last Post March 31, 2011
    • Does this work with the Visual web developer 2010 express edition?
    • No, Express versions don't support extensions
  • Collapsing at { }
    3 Posts | Last Post March 28, 2011
    • Good work here. I have tried your extension, and read the comments below. However, one little bug bear I have with visual studio editor, (and I have read many like it), is that it can’t collapse directly at the { under a c# method. Instead favouring to collapse at the method name.
      
      The issue I have with this is that C# allows you technically to use { } anywhere. So if you could collapse at the { you would then be able to put them around stuff like case statements and even collapse long loops or conditionals. Or just encase a piece of code you want to get out of the way in a set of { } and collapse it.
      
      Since you are developing this tool for Java script and CSS, perhaps you can shed some insight on how to add the feature above to the C# environment.
      
      Another reason I like using the idea of { to collapse code between { } is because it is one character long to begin, and one character long to end. As opposed to the equivalent #region name, and #end region name which serves no other purpose than to do what I am requesting but looks like a precompiler directive in C++. Personally I don’t really like the look of it and I’m too lazy to type at least 17 characters and a name when I can get away with 2 and a name.
      
      Anyway, your insight on this would be welcome, and also any ideas you may have to help overcome it, I assume it is an advanced problem considering so many programmers are looking for a solution and nobody has come up with one yet.
      
      Thanks for your input.
      Regards
    • Hi
      A friend fo mine already adapted this extension to C#. It's called C# outline (http://visualstudiogallery.msdn.microsoft.com/4d7e74d7-3d71-4ee5-9ac8-04b76e411ea8)
    • Thanks, Thats exactly what I wanted. Tell your friend I said hi and thanks and to keep up the good work.
  • in @import file will show error
    4 Posts | Last Post March 14, 2011
    • In @import file is show error:
      
      file content:
      @import "reset.css";
      @import "base.css";
      @import "fonts.css";
      
      I check VS Log(ActivityLog.xml):
      468 ERROR System.ArgumentOutOfRangeException: 指定的引數超出有效值的範圍。參數名稱: span 於 Microsoft.VisualStudio.Text.Implementation.SimpleStringRebuilder.GetText(Span span) 於 Microsoft.VisualStudio.Text.Implementation.TextSnapshot.GetText(Span span) 於 Microsoft.VisualStudio.Text.Implementation.BaseSnapshot.GetText(Int32 startIndex, Int32 length) 於 JSEnhancements.Outlining.TextRegion.get_InnerText() 於 JSEnhancements.Outlining.TextRegion.TryMergeComments(TextRegion newRegion) 於 JSEnhancements.Outlining.TextRegion.ParseBuffer(SnapshotParser parser, TextRegion parent) 於 JSEnhancements.Outlining.JSOutliningTagger.Outline(ITextSnapshot snapshot) 於 JSEnhancements.Outlining.JSOutliningTagger..ctor(ITextBuffer buffer, IClassifier classifier) 於 JSEnhancements.Outlining.JSOutliningTaggerProvider.<>c__DisplayClass1`1.<CreateTagger>b__0() 於 Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func`1 creator) 於 Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Func`1 creator) 於 JSEnhancements.Outlining.JSOutliningTaggerProvider.CreateTagger[T](ITextBuffer buffer) 於 Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers(ITextBuffer textBuffer)   Editor or Editor Extension 
      
      
    • Unfortunately, I couldn't reproduce this bug. Created the file and nothing happened.
      I need this file exactly as you created it. Maybe there is something about encoding or special symbols. You can send it to ryder86@gmail.com. You can also send reset.css, base.css and fonts.css, they may be important too.
    • fixed
    • Good job.
1 - 10 of 18 Items   
« First   < Prev   1  2    Next >   Last »