Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comments in code in visual studio
Message
From
18/01/2011 11:04:35
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01496411
Message ID:
01496428
Views:
28
>>>>In foxpro I can highlight a block of code and comment it out with a right click.
>>>>
>>>>How can I do the same in Visual Studio.

>>>
>>>Highlight your code (you don't have to start/stop the highlighting at the beginning/end of the code, either ... just have part of the lines hightlighted that you want start/stop on). Then, on the ToolStrips at the top of the IDE, there are two icons, one for commenting, one for uncommenting. If you hover your mouse over the ToolStrip, you'll see which ones they are ... the uncomment one has a curly arrow with some lines under it. I suppose I could attach a picture if you can't find it. They have keyboard shortcuts too, but they're a pain and I prefer to click the ToolStrip. The shortcuts are (Ctrl+E, C) and (Ctrl+E, U).
>>>
>>>~~Bonnie
>>
>>That'll do it.
>>
>>You should see the code I'm writing . It'd make you cry :-)
>
>Tears of Sorrow ? Joy ? Laughter ? :-}

I'd see it as a progression through all three followed by the quiet sound of a head repeatedly striking the desk but then what do I know :-)
Why don't you have a welsh flag BTW
Previous
Reply
Map
View

Click here to load this message in the networking platform