In this hint, I will solve the below issue
Missing Comment and Uncomment button In Visual Studio
Scenario
In Visual Studio, I didn’t find the comment button toolbar, it is missing as shown below:
Cause
The Comment button in Visual Studio is included in Text Editor option.
By default, The Visual Studio 2012 (and maybe later versions) does not add Text Editor option in the Visual Studio toolbar.
Solution
Show Comment / Uncomment buttons In Visual Studio
- Click right on a free space in the toolbar then select Text Editor
- The below buttons should be added to Visual Studio toolbar!
- You will note that the comment icons in Visual Studio 2008 / 2010 look like the below icons.
- In Visual Studio 2012, the icons have been changed as shown below:
Applies To
- Visual Studio.
- Visual Studio 2012.