JavaScript Map Parser

Free

Extension for Visual Studio that shows a map for JavaScript code in a separate panel.

(72) Review
Visual Studio
2015, 2013, 2012, 2010
Download (284,752)
5/2/2016
4.1
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (72)
Q and A (37)
Sign in to write a review
Sort by:

by Will Vandergrift | August 02 2016

Great plugin for quickly viewing a JavasScript object. Saves plenty of time that would be spent searching through files.

by eug100 | May 22 2016

Thank you very much for your really helpful product!

by pat capozzi | April 29 2016

Am at 5700 lines of JS and counting on a super complex screen and this extension has been A GODSEND. Very simple and unobtrusive. Firstly gives you list by alpha. Also has really useful tagging of functions so they 'stick out' in the list. Good for when you are working on some and you want to find them fast. The compile check is good to.
Best extension I have ever loaded. Huge thanks to Oleksandr, you're THE MAN.

by J. Scott Kelley | November 25 2015

So far out of the box, not impressed. When I installed and restarted.

1. Keyboard was remapped to Visual C# 2005.
2. JavaScript files were un-editable. I would type, nothing would happen.
3. Reset my keyboard, Disabled, Restarted, Re-enabled, Restarted.
4. Keyboard changes held and now I can edit files.
5. In the JavaScript Parser window, I have access to settings and search icon, none of the others appear.
6. Load time have doubled.
7. Tried suspending Resharper to see if there was a conflict, no help.

I read 68 reviews where people just raved about this software. I am not experiencing that.

Oleksandr Boiko November 25 2015
| Edit |
Delete

Probably it's not your day.
So far you are the first with all this disastrous symptoms, plugin implementation for VS integration was not touched for several years.
Have you installed some other plugins at the same time? Did uninstalling of JsMapParser helped you to gain previous experience back?

by PowerSparks | November 09 2015

awesome product... really like using this tool.

there is a setting to adjust the length of the function parameters... so along this line - is there away to allow exposing anonymous functions within a "jQuery" closer or display dot notation, namespace of a function?


(function ($) {
$.extend($.name.space, {
funName: function(){},
register: function(){
$.name.space.funName(param).done(function(){});
}
});
})(jQuery);

Oleksandr Boiko November 25 2015
| Edit |
Delete

Hi PowerSparks!
Currently there is no support for that. Although it was some kind of it in previous versions, but due to bugs and visual noise I just simplified it to what it is now. So all this line of code:

$.name.space.funName(param).done(function(){});

Will show in the tree only as:

done>?()

by Hiblet | September 25 2015

This instantly found a syntax error that had been driving me nuts. Love it, thanks for the effort.

by Ozair Kafray | September 15 2015

I was searching for a JavaScript editor that could list functions nested public members of another function/class and so on. I am glad I found this as I do not have to switch to another IDE with this plugin. Solves my problem cleanly.

I was using Notepad++ only for this purpose earlier.

Oleksandr Boiko November 25 2015
| Edit |
Delete

Is there something similar for Notepad++?

by Untit1ed | July 13 2015

by serdarrah | July 13 2015

Thanks dude, it works now (:

by Wolf4e | July 10 2015

After the last update, the notification on top of the editor is not shown - VS 2013. But still - great tool.

Oleksandr Boiko July 10 2015
| Edit |
Delete

Hi Wolf4e!

Probably the error is not more considered as critical. With change of parsing engine there was changed whole logic of error handling.

Please try some obvious malformed javascript.

Could you please post an issue to github with more details?

by detoor21 | May 01 2015

Required

by dante8080 | April 07 2015

Killed the performance of VS 2013 for me. Didn't realize how bad it was until I ran into web.config issues where there was a localdb connection string in machine config that kept creating an aspnetdb.mdf in my solutions under App_Data. Removed it from machine config and this extension started crashing on VS startup. Removed this extension and the localdb connection string and now my VS runs about 100x faster and starts up much quicker.

Oleksandr Boiko July 09 2015
| Edit |
Delete

I suppose you just picked wrong extension page to write your negative feedback.
Javascript parser has to do nothing with any project web.config files and of course it is not performing any database connections.
All what it is responsive for is parsing javascript in background. That of course is not very cheap operation but it is sure isn't the "performance killer"

by Fakher Halim | March 02 2015

Absolutely fantastic! A must for JavaScript developer on VS 2013

by Carlos ABS | January 26 2015

Good addim, very useful.

by HikeMike | January 20 2015

by JayChase | November 03 2014

Handy even if you are using Web Essentials already. An ignore list for errors would be great though.

by ValentinoLokesh | October 13 2014

I like you extension showing the error on top of editor but it makes the editor to respond slowly when we type text. please please fix it.

by jhammFL | September 25 2014

Such a well implemented extension! Why couldn't Visual Studio do this? Great job.

by ahmd0 | September 19 2014

I've been looking for something like this for a while. Amazing plug-in. Thanks to developer! Editing large JavaScript files without this plug-in is virtually impossible.

PS. It really beats me why neither native Visual Studio nor other JS editors like Dreamweaver provide any means to navigate among JS functions and global variables. This plug-in makes it a breeze!

by virtualadrian | September 13 2014

Fantastic plugin!!!! Highly recommend it if you're trying to clean up your scripts. I use this and a "New Solution Explorer" from my scripts folder and I can find my way around much easier.

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


  • unexpected token ~
    1 Posts | Last post September 01, 2016
    • In some cshtml file of my ASP.Net MVC Project, some js code like below cause error : "unexpected token ~".
      How can I do for this?
      
      the js :
      url: "@Url.Content("~/NCDModule/T_Residents_BasicInfo/GridPageJsonFilterOrg")",
  • Watson crashes
    1 Posts | Last post August 31, 2016
    • Hi, I have a Watson report for you with approx. 200 crashes. Can you contact me at v-kefans@microsoft.com to follow-up? The auto-generated header is this: clr20r3: CLR_EXCEPTION_e0434352_JsParser.Core.dll!Unknown.
  • RAZOR syntax in script
    2 Posts | Last post May 19, 2016
    • Hi, I have a .cshtml page in which I mix Razor syntax with javascript to form uri's for ajax calls, such as:
      var uri = "@Url.Action("WriteSavedSearchToCSV", "Projects", new { savedSearchID = -1 })";
              uri = uri.replace("-1", ID);
      But the javascript parser complains that the first line contains an "unexpected identifier" - even if the advanced option "Process Razor syntrax to be correct script" is checked.  It's nice it reports the error but then the parser window is empty, so it's kind of useless, any ideas?
    • Hi, Norman.
      I am really thankful that you posted your question here, so I can answer on it.
      Currently I am in a bit of process of updating Wiki of the extension, aspecially FAQ page.
      I've posted your question with answer there, hopefully you can solve your problem.
      Check out information here: https://github.com/megaboich/js-map-parser/wiki/Frequently-Asked-Questions#tree-is-not-shown-in-case-of-html-aspx-or-cshtml-files
  • object function grouping doesn't work
    1 Posts | Last post March 21, 2016
    • Great product, thanks!!
      in the past this construct would group all the functions beneath MyCustObj that i could collapse, but now i just get the function listed with no reference to MyCustObj.  i have several objects with the same function names so i can't tell which object they belong to.
      
      MyCustObj.prototype.func1 = function () {...}
      MyCustObj.prototype.func2 = function () {...}
      MyCustObj.prototype.func3 = function () {...}
  • False positive error in cshtml file
    2 Posts | Last post January 08, 2016
    • On this first line in a <script> block in a cshtml file, it is saying Unexpected Identifier:
      
              var pointJsonUrl = "@Url.HttpRouteUrl("ApiByAction",
                                                    new RouteValueDictionary
                                                    {
                                                        { "controller", "ReportData" },
                                                        { "action", "GetPointsReport" }
                                                    })/" + jsonPayload.ConfigId + "?startTime=";
      
      I am guessing it doesn't understand the call to @Url.HttpRouteUrl, even though it builds and runs fine.
      
    • I can make it happy by changing the " to ' around the first javascript string AND by putting the whole statement on one line.
  • Great tool - thanks
    1 Posts | Last post October 20, 2015
    • Hi Oleksandr,
      
      I just installed your extension and it is doing exactly what I needed.  Thank you.  I was going to request a Refresh capability but then I saw you answer another person's request, saying refresh was linked to Save.  Very nice.  May I suggest you mention that feature in your features document.  Thanks again for the great tool.
  • No syntax error shown
    3 Posts | Last post October 14, 2015
    • I just installed Javascript Parser on VS 2015, but the Javascript Parser window only shows two icons: the dropdown menu icon and the search icon. No error icon as I can see on the screenshots. I tried to introduce errors in a JS file (saved, built), they don't show up in the Javascript Parser window. Am I missing something?
    • Hi GerardF,
      
      That is strange. Probably your errors were not errors from javascript point of view. It allows sometimes very weird syntax.
      Try to copypaste this code to any js file and save it. (No necessary to build)
      
      function correct() {
      	return "something"
      }
      
      function incorrect(){
      	return &*
      }
    • That's it, I tried with a missing semicolon. Now it works fine, thank you.
  • Two small feature requests
    2 Posts | Last post October 07, 2015
    • I'm a fan of CodeMap and have used a similar extension for years.  I'm very pleased to now have a code map for JavaScript.  Thank you!
      
      Two small requests from initial 5 minutes of use:
      
      1. Can you automatically show/hide the parser panel depending on if you are able to parse the file?
      1a. Basically, auto-hide when showing server code like C# and then auto-show when showing client code.
      
      2. Can it be made to refresh automatically?  Perhaps even a polling solution to simply reparse every 20 seconds.  I can understand you don't want to parse every key-press.
    • Hi codinglifestyle!
      Thanks for your feedback, it is very pleasant to read that my extension might be useful. Unfortunately currently I do not have spare time to implement those features, especially considering the fact that auto show\hide panel was implemented long time ago, but facing numerous bugs and after a lot of struggling to fix all that behavior in all versions of VS I had to give up and remove that functionality completely.
      
      About refresh - it is subscribed to "save file" event. So if you want to refresh the view you just need to press Ctrl+S.
  • Parser Errors but there is nothing wrong that I can see
    3 Posts | Last post July 09, 2015
    • In Visual Studio 2013 I created a C# Web Application Project. I'm getting 3 Javascript Parser errors but they are not even Javascript code on those lines.
      
      Says syntax error on the below two lines.
      <!DOCTYPE html>
      
      <li><a runat="server" href="~/ShoppingCart" id="cartCount">&nbsp;</a></li>
      
      Semicolon Expected error on the line below.
      <p>&copy; <%: DateTime.Now.Year %> - Wingtip Toys</p>
      
      Any Help would be most appreciated.
      
      Jeffery
      
    • Forgot to mention it is in the Site.Master page.
    • You can disable Javascript parser for .master pages in options.
  • Pop-up cut off
    2 Posts | Last post July 09, 2015
    • I'm using VS 2013 on Win7 64bit. Once in a while this extension pops up a message saying "Help improve JavaScript Parser extension". This popup is cut off at the bottom (unfortunately I cannot post a screenshot here), and to dismiss it you need to manage to click barely visible top of the buttons, or use enter for default action. Please fix.
      
    • Probably you use some kind of multi-monitor configuration. 
      I believe that this popup could be moved as usual window.
1 - 10 of 37 Items