Nice little Visual Studio shortcut key

So I have been using the shortcut keys ctrl+E,C  to comment markup code and ctrl+E,U to subsequently uncomment markup.  What I have just realised is, that it works with code, but my expectations were not correct.

In code I would use the /* ... */ syntax for multiple line comments, but if you use the short cut on multiple lines of code, it uses single line comments.... for each line of code. 

Still handy and a nice little short cut though <s>

 

Cheers

 

Andrew

Published Thursday, January 24, 2008 12:19 AM by REA_ANDREW

Comments

# re: Nice little Visual Studio shortcut key

Thursday, January 24, 2008 12:11 PM by Darren Kopp

i use ctrl+k,c and ctrl+k,u. does the same thing, but more convenient for me because i use ctrl+k,d to format my code a lot.

# re: Nice little Visual Studio shortcut key

Friday, January 25, 2008 9:51 AM by REA_ANDREW

Ahhh, gotcha, Thanks for the tip Darren!

Leave a Comment

(required) 
(required) 
(optional)
(required)