How to write JavaScript code better in VS2010

Source: Internet
Author: User

VS2010 The default JavaScript code editor is relatively straightforward. For everyone familiar with the code folding, code structure, function navigation, code highlighting and so on are not supported, the use is very inconvenient. Here are some of the VS2010 plugins I found, what features, how to install and use.

Tools/Materials
    • VS2010
Method/Step
  1. 1

    Let's take a look at the JavaScript editor interface that VS2010 comes with. Code folding Wood has, code structure, function navigation wood has, code GAOLIANGMU have.

  2. 2

    Next we are going to install the JavaScript plugin, where to find it? Here, the VS Menu selection Tool-"extension Manager".

  3. 3

    After opening the extension manager, we have not installed any plugins at this time, in the upper right corner of the search box to enter the name of the plug-in need to find, perform a search.

  4. 4

    After searching for the plugin, click the Download button on the right. A confirmation window pops up to confirm that the installation is performed.

  5. 5

    After the installation is complete, you will be prompted to restart the VS2010 before the plug-in will take effect. If you install only one plug-in, restart it directly and continue searching if you want to install another plugin. Repeat 3, 42 steps.

  6. 6

    Recommended a few more useful plugins:

    1, Javascript PARSER:JS code parser, parsing JS Code, Production tree menu, display code structure, and be able to jump directly to the specified function, even inside the code branch of the function.

    2, Jsenhancements: Support JS and CSS code folding tool.

    3. JScript Editor Extensions: Highlighting words, matching parentheses, etc.

  7. 7

    After the JavaScript parser installation is complete, you need to choose View-Other Windows-JavaScript parser in the menu to open the Code Navigation window. The navigation window appears as shown in.

  8. 8

    If you need to remove or disable plugins, you can manage them in the extension manager

  9. 9

    Plug-in library in a lot of plugins, we can dig better plug-ins themselves:)

How to write JavaScript code better in VS2010

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.