Writing Javascript in Visual Studio 2005

Posted on 2006-05-19
Last Modified: 2012-06-21
I am writing a bunch of Javascript in visual studio for my applications and i was wondering if there is anyway to get it to auto format.  I am writing some pretty big IF statements etc but get lost in them as i am not laying things out properly. :$  Is there an auto format feature somewhere that i can use to make it cleaner?  Also is there anyway to debug javascript at all?  I also have the Antechinus program that is a javascript editor but hasnt helped me out much...
Question by:TheRookie32
    LVL 96

    Accepted Solution

    1) Format Javascript online:

    2) Debugging Javascript can be done a few ways

      If you are allowed to debug script code, then you can use this line:

      If you are using Internet Explorer, there is an advanced option to Disable script debugging that needs to be unchecked.

      In the IDE, there is a debug option to show running documents, where you can put breakpoints to step through Javascript code.

    LVL 6

    Author Comment

    What is that editor formatting against and what standard is it using?  W3C standard?

    LVL 96

    Expert Comment

    by:Bob Learned
    You tell me!! ;)  


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
    User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now