21,Right-click the Toolbox tab and select control list in alphabetical order.
22,You can dragCodeDisplayed on the General tab of the toolbox
To display the content, just click the code and drag the code (Click + drag) to the toolbox.
23,What is the difference between the default option and the automatic option when setting the font?
The default option refers to the default settings of Visual Studio, depending on your own vs setting file (. vssetaskfile). This setting can be set during initial installation, or you can reset it through tools-import/export settings.
The automatic option indicates that the color is inherited from another element. For example, if the visible blank option is set to Auto, the color is black, and the default color is blue, in fact, the automatically set color is inherited from the window color of the operating system.
If we change the color of the form, such as green:
Let's take a look at the effect of the settings:
However, after your experiment, you may find that some other element settings have also changed the color. Why?
For example, for the following plain text option, its default options are also set to the same color as the automatic options. In fact, the plain text is also inherited from the operating system settings, therefore, the color is automatically the same as that displayed in the image below by default. If we set plain text to green, the UI elements inherited from plain text colors in each ide will also be changed to green.
24,Reset vs Environment Settings
Select Tools> Import settings everywhere> reset all settings to complete environment initialization.
25,Visual stdio will automatically save your configuration information every time you close it.
Whenever you want to back up the configuration before changing the configuration, you can choose tools> Import/Export tools> import, and then select "current configuration" under "My configuration. vssettings file, such:
PS: in fact, you can also do a lot of things when exporting the selected environment settings. For example, if you are a good user and do not need some options, you can try to set them here, however, it seems that I don't have to try it out. (I 've talked about the usage of many specific options before and after the author's blog page 10th. For more information, see ).
26,You can customize the breakpoint trigger conditions.
Method: Right-click the breakpoint and select condition)
Here you have two options: triggered when a specific expression is true or when a specific value changes.
In this example, because I want to do a loop, I> 5 can be entered in the condition column.
Now you will find that the breakpoint now has a plus sign, which indicates that the breakpoint is conditional.
Of course, when you right-click a breakpoint, you will find many other options, which are described as follows:
Location-view the file path, row number, and character information;
Number of hits-view the number of resumable hits
Filter -- restrict the setting of breakpoints in some processes and threads:
Then you will find that the breakpoint filtering information is displayed in the breakpoint window. The effect is as follows:
27,You can use the insert tracking point to obtain the output information you need.
For example, we want to track the value of the loop variable as follows:
Effect example (note that the breakpoint is a diamond symbol ):
The value recorded by the tracking point is displayed in the output window of the debugging panel.
28,You can use the "tab" key to quickly insert a code block.
For example, the following for loop operation:
Effect after insertion:
29,When an exception prompt is displayed, you can view the exception details to facilitate debugging.
Click View Details to open the displayed exception information dialog box. The result is as follows:
30,Write code to add breakpoints
You only needProgramAdd debugger. Break () to the interrupted part. Note: The system. Diagnostics namespace must be introduced to debugger. The effect is as follows:
To be continued ....
Author: Rocky Xiang
Source: http://www.cnblogs.com/RockyMyx/
The copyright of this article is shared by the author and the blog. You are welcome to repost it. Article The original text connection is clearly displayed on the page. Otherwise, the legal liability is retained.