Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Visual Studio 2010 - Make comment out of selection

13 May 2011   #1

Visual Studio 2010 - Make comment out of selection

in dreamweaver there are buttons for dealing with line or text selection for making it commented or not.
i lack completely on how to this in visual studio.

is there a toolbar or a button for such?
what i mean is simply surrounding a text selection without having typing that every time - and also reverse that simply.

XmlDocument LoginXMLDocument = new XmlDocument();

should become:
XmlDocument LoginXMLDocument = new XmlDocument();

thanks for any feedback!

after some research i found out that there are two commands and i added them to my new comment toolbar.

My System SpecsSystem Spec
13 May 2011   #2

Windows 7 x64 Ultimate

Er yes, it should already be a button on the tool bar as well. Mouse over the buttons till you see one called "Comment out the selected lines" or something similar. If you don't find it, right click the tool bar and make sure the "Edit" tool bar is shwing first. If not, enable it and look there. If you still cant find it, right click and "Customize" and look through the buttons on the "edit" group of buttons for "Selection Comment" and "Selection Uncomment" and add them to your tool bar.
My System SpecsSystem Spec

 Visual Studio 2010 - Make comment out of selection

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
Visual Studio 2010
Now that it's out, if it worth bothering with when compared to 2008? Has it got any new features or anything else that makes it having along side Visual Studio 2008?
New Visual Studio 2010 RC VHD Releases.
Source - New Visual Studio 2010 RC VHD Releases - Download here - Softpedia For those who may be interested -
Visual Studio 2010 and .NET 4 Update
more at source..
Visual Studio 2010 beta
Hi I am downloading the above from MS. The download and install of componenets has been running fine, it's gone thru the visual studio tools, .net framework etc and is presently downloading the component 7 of 32, the actual MS Visual Studio 2010 Beta 2. All the previous components d/l at...
Programming Windows 7 Using Visual Studio 2010
Visual Studio 2010 beta is now live
The Visual Studio Beta is now live and you can download it here....

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:46.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App