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
deskareas

 
 
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.

example:
XmlDocument LoginXMLDocument = new XmlDocument();
LoginXMLDocument.Load(xmlPath);

should become:
/*
XmlDocument LoginXMLDocument = new XmlDocument();
LoginXMLDocument.Load(xmlPath);
*/

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
fseal

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
Reply

 Visual Studio 2010 - Make comment out of selection




Thread Tools




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 asp.net features or anything else that makes it having along side Visual Studio 2008?
Software
New Visual Studio 2010 RC VHD Releases.
Source - New Visual Studio 2010 RC VHD Releases - Download here - Softpedia For those who may be interested - http://news.softpedia.com/news/Introducing-the-Facebook-Azure-Toolkit-138089.shtml
News
Visual Studio 2010 and .NET 4 Update
more at source..
News
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...
Software
Programming Windows 7 Using Visual Studio 2010
More...
News
Visual Studio 2010 beta is now live
The Visual Studio Beta is now live and you can download it here.... http://www.microsoft.com/visualstudio/en-us/products/2010/default.mspx
Software


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 23:43.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App