Advanced JavaScript outlining

Free

Provides additional outlining for JavaScript editor

(32) Review
Visual Studio
2015, 2013, 2012
Download (35,513)
8/5/2015
1.0.3.1
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (32)
Q and A (3)
Sign in to write a review
Sort by:

by Offir Pe'er | Thu 7:38 AM

Doesn't work with aspx functions.
for example:

//#region
<%If me.yes = True Then%>

some functions...

<%End If%>
#endregion

other js function without <% works fine.

by Paul Fahlbusch | August 11 2015

Very useful extension, great work!

Unfortunately the latest version (1.0.3) is not working for me with Visual Studio Professional 2012 Update 4. The prior version 1.0.2 however works like a charm.


Edit:
The updated version 1.0.3.1 works great in VS 2012.
Thank you for the update.

by dklingman | July 08 2015

I love this tool. However, it doesn't seem to work as well as the JSEnhancements tool that was for VS2010.

Whenever I have razor code in the javascript it messes up. For intance the following I can't collapse the click function because of the razor code:

$('#btnViewAll').click(function () {
$('#errorDiv').hide().html('');
$('#dlgViewAll')
.html('')
.load(
'@Url.Action("DistributionGrid", new { id = Model.fkTransferAmend })',
function () {
$(this).dialog('open');
}
);
});

... but this works:

$('#btnViewAll').click(function () {
$('#errorDiv').hide().html('');
$('#dlgViewAll')
.html('')
.load(
'blah-blah-blah',
function () {
$(this).dialog('open');
}
);
});

Hoping for a fix at some point. Still a great tool and useful.

by julienN | May 26 2015

Works great !
Also fixes the annoying VS bug that prevents collapsing Javascript when Razor variables are used !

by TheMaxPower | January 11 2015

Works great in VS2013. Nice work!

by Igor Birkan | December 20 2014

by BradyKelly | December 12 2014

Pretty damned neat. I was annoyed that regions didn't work in script inside Razor views, but hell, I just moved my script out of the view. Thanks.

by Petr Felzmann | December 01 2014

Even notepad++ has better outlining/collapsing of JavaScript code then Visual Studio 2013! Neither Resharper nor Web Essential have this functionality, thx!

by Pavel Gurecki | November 28 2014

VS Pro 2013, Update 4, have Web Essentialls and other stuff installed, this plugin works great (with .js files)

by Lenon Felipe Bordini | October 28 2014

by Pranithan T | October 27 2014

Very cool,

This extension works perfectly with .js extension files in Visual Studio 2013 Update 3. No crash, no break and it is free! I have tried nesting region, sub-commenting.

Anyone who wants to do the JavaScript region in razor page, this extension is not aimed for this purpose. You might see @Mustafa comment in http://stackoverflow.com/questions/5392931/regions-in-asp-net-views

by murattyilmaz | October 20 2014

It's a really cool extension but Visual Studio 2013 Update 3 broke it and its not working.

by IAfanasov | September 25 2014

by JayeshK | August 20 2014

Just downloaded it, exactly what I was looking for! 5 stars for now.

by Carlos Enrique Mosquera | June 25 2014

Looks like can't outline with jQuery ready notation in Razor page like

$(function () {
ko.applyBindings(mymodel);
//some other functions
});

It's possible fix this?

by sunilursmb | February 01 2014

by Admiral_Snyder | November 09 2013

the problem with regions not showing the title (#region falsely) seems to be connected with "web essentials 2013", another addin. I had to deactivate that and to reactivate it, and now it works again.

by Vadim Milichev | November 08 2013

First of all, the very helpful thing I use everyday. Thank you.

With the latest update (1.0.2 11/2/2013) regions stopped display captions. Previously the following

// #region Fakes

when collapsed looked as
[+] Fakes

Now it looks as
[+] Region
and I have to expand every one to find what's inside.

Please fix.

Thanks

by bar10dr | August 19 2013

This addon does exactly what it says, nothing more - nothing less, in other words; its perfect. A tiny annoyance is that it seems to not insert the region clamps until you manually save the file but I can live with that :)

by AnuragAcharya | June 20 2013

Great work! Works perfectly with VS 2012. This is exactly what I was looking for.

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


  • Requires Framework
    1 Posts | Last post June 28, 2015
    • I'm trying to install this extension on vs 2013 which runs on windows 10 but it throws an error and says that it need a version of framework which is not installed, i tried to install framework 4.5 but windows says that it;s already installed.
      do you have any suggestion for how to overcome this, I really can't edit js files without this extension :(
  • Needs Updated Manifest to Install w/.NET>4.5
    1 Posts | Last post April 14, 2015
    • I've run into this with a couple extension that simply use Version="4.5" in the .NET dependency. Needs to be Version="[4.5,)" so 4.5.2 is allowed. Until it's updated you can extract the VSIX, make the change in the manifest, zip the files and rename to *.VSIX and install.
  • Should this / Can this have #regions collapsed by default?
    4 Posts | Last post October 28, 2014
    • In VS2010 I ran the old version of this plugin and I'm sure my JS was collapsed by default. Which made my code very easy to navigate.
      
      However in VS2012 with this plugin my code is not collapsed by default.
      Any way this can be achieved?
    • No works fine with MVC and notation ASP... Functions not collapse!
    • For example:
      
      url: '<%: Url.Action("Action")%>'
      
      To be more specific... not collpase when exists calls ajax using "<%: %>".
    • The plugin is great, helps a lot in the development. 
      
      But in MVC, in a script tag does not work if you used RAZOR has possibility to make it work?