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
Method/Step
- 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
Next we are going to install the JavaScript plugin, where to find it? Here, the VS Menu selection Tool-"extension Manager".
- 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
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
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
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
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
If you need to remove or disable plugins, you can manage them in the extension manager
- 9
Plug-in library in a lot of plugins, we can dig better plug-ins themselves:)
How to write JavaScript code better in VS2010