|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
coment a block of codehow can one quickly comment out a block of selected code in visual studio
express 2005 the insert comment is only good for a block of comment before sub, function right now I would have to cut and do transform with another C editor before copying and pasting back GS,
I don't know if it is in the express versions, otherwise it are those buttons with two black, three light blue lines and than 2 black lines, just go with your mouse over your toolbar to see if it is there. Cor Show quoteHide quote "GS" <gsmsnews.microsoft.co***@msnews.Nomail.com> schreef in bericht news:emUlqIKAHHA.4472@TK2MSFTNGP03.phx.gbl... > how can one quickly comment out a block of selected code in visual studio > express 2005 > > the insert comment is only good for a block of comment before sub, > function > > right now I would have to cut and do transform with another C editor > before > copying and pasting back > > GS wrote:
> how can one quickly comment out a block of selected code in visual Try selecting the code, then pressing Ctrl+K and then Ctrl+C. This should > studio express 2005 > add a comment to the start of every highlighted line. To remove the comments, select the block once again and press Ctrl+K and then Ctrl+U. Sadly there is no "block comment" such as C's /* */ in VB, so this is as good as it gets. HTH, -- (O)enone Good answers. thank you.both
Show quoteHide quote "Oenone" <oen***@nowhere.com> wrote in message news:Rhm3h.3850$GX2.381@newsfe7-gui.ntli.net... > GS wrote: > > how can one quickly comment out a block of selected code in visual > > studio express 2005 > > > > Try selecting the code, then pressing Ctrl+K and then Ctrl+C. This should > add a comment to the start of every highlighted line. To remove the > comments, select the block once again and press Ctrl+K and then Ctrl+U. > Sadly there is no "block comment" such as C's /* */ in VB, so this is as > good as it gets. > > HTH, > > -- > > (O)enone > >
This mail sending code snippet does not work
incorrect string format Altering a DBF File Fundamental OOP inheritance question Accessing an arraylist from multiple forms. Examples of VB.net commercial software packages Visual Basic 2003 won't run - get error message Dynamically changing button label from a variable Can reflection tell the base class of an object? Unable to remove Beep on Alt+A |
|||||||||||||||||||||||