For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > September 2004 > Keyboard shortcuts for commenting?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Keyboard shortcuts for commenting?
Martin Rosén-Lidholm

2004-09-21, 9:04 am

Are there any keyboard shortcuts for "Comment out the selected lines" and
"Uncomment the selected lines"?

Thanx!

// Martin Rosén-Lidholm



Mythran

2004-09-21, 3:59 pm

Menu:
Tools->Options->Environment->Keyboard

Type in the "Show commands containing:" textbox the value
"Edit.CommentSelection". You can change the keyboard shortcut as well as view it
there. "Edit.UncommentSelection" is the other to search for. (Do a search for
"commentSelection" to see both at same time)

Mythran


"Martin Rosén-Lidholm" <martin_rosenlidholm@snabel-a.msn.com> wrote in message
news:eZIOpU9nEHA.3712@TK2MSFTNGP15.phx.gbl...
> Are there any keyboard shortcuts for "Comment out the selected lines" and
> "Uncomment the selected lines"?
>
> Thanx!
>
> // Martin Rosén-Lidholm
>
>
>



Martin Rosén-Lidholm

2004-09-22, 9:09 am

Many thanks! :-)

// Martin


"Mythran" <kip_potter@hotmail.com> wrote in message
news:O5gbVF$nEHA.1160@tk2msftngp13.phx.gbl...
> Menu:
> Tools->Options->Environment->Keyboard
>
> Type in the "Show commands containing:" textbox the value
> "Edit.CommentSelection". You can change the keyboard shortcut as well as

view it
> there. "Edit.UncommentSelection" is the other to search for. (Do a

search for
> "commentSelection" to see both at same time)
>
> Mythran
>
>
> "Martin Rosén-Lidholm" <martin_rosenlidholm@snabel-a.msn.com> wrote in

message
> news:eZIOpU9nEHA.3712@TK2MSFTNGP15.phx.gbl...
and[color=darkred]
>
>



Martin Rosén-Lidholm

2004-09-27, 9:07 am

.... and now the $1'' question is how to expand/collaps regions with the
keyboard?

Thanx!

// Martin Rosén-Lidholm

"Martin Rosén-Lidholm" <martin_rosenlidholm@snabel-a.msn.com> wrote in
message news:eZIOpU9nEHA.3712@TK2MSFTNGP15.phx.gbl...
> Are there any keyboard shortcuts for "Comment out the selected lines" and
> "Uncomment the selected lines"?
>
> Thanx!
>
> // Martin Rosén-Lidholm
>
>
>



Mythran

2004-09-27, 4:02 pm

ToggleOutliningExpansion is one of them :)

CTRL-M CTRL-M on my machine....

Dunno about just expand/collapsing just regions.

Mythran


"Martin Rosén-Lidholm" <martin_rosenlidholm@snabel-a.msn.com> wrote in message
news:OKFUb8HpEHA.536@TK2MSFTNGP11.phx.gbl...
> ... and now the $1'' question is how to expand/collaps regions with the
> keyboard?
>
> Thanx!
>
> // Martin Rosén-Lidholm
>
> "Martin Rosén-Lidholm" <martin_rosenlidholm@snabel-a.msn.com> wrote in
> message news:eZIOpU9nEHA.3712@TK2MSFTNGP15.phx.gbl...
>
>



Martin Rosén-Lidholm

2004-09-28, 9:04 am

Once again - many thanx! :-)

// Martin


"Mythran" <kip_potter@hotmail.com> wrote in message
news:OKPqKYKpEHA.556@TK2MSFTNGP09.phx.gbl...
> ToggleOutliningExpansion is one of them :)
>
> CTRL-M CTRL-M on my machine....
>
> Dunno about just expand/collapsing just regions.
>
> Mythran
>
>
> "Martin Rosén-Lidholm" <martin_rosenlidholm@snabel-a.msn.com> wrote in

message
> news:OKFUb8HpEHA.536@TK2MSFTNGP11.phx.gbl...
and[color=darkred]
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com