Finding syntax errors in large javascript file in Visual Studio -
is there way tell visual studio compile particular javascript file , highlight syntax errors, or tell vs include javascript syntax errors line numbers errors listing? @ moment have vs2010, know if possible in 2012 too.
visual studio doesn't compile javascript. executed in broswer. if crashes, browsers console tell in of cases. access browsers console (dev-tools) keyboardshortcut (e.g. chrome/firefox cmd+alt+i on mac or ctrl+shift+i on windows).
in cases (jquery wrong selector) there no error message; if have syntax errors missing brackets or that, find error message @ console.
perhaps looking extension like: http://visualstudiogallery.msdn.microsoft.com/288a2b0f-1357-47b4-8215-1134c36bdf30
Comments
Post a Comment