I'm trying to comment/uncomment a block of code using the shortcut "Ctrl+C" and "Ctrl+K", but it's not working. Nothing happens.
Anyone know why?
I'm trying to comment/uncomment a block of code using the shortcut "Ctrl+C" and "Ctrl+K", but it's not working. Nothing happens.
Anyone know why?
I think you have it backwards, its CTRL+K, CTRL+C to comment, CTRL+K, CTRL+U to uncomment.
Here is a list of Visual Studio Shorcuts (The article doesn't specify which version, but I don't believe they have changed)
try this
ctrl -k + c : command out the selected code
ctrl -k + u : uncommand out the selected code
CTRL + "k" + "c" and CTRL + "k" + "u": These two are for commenting selected text (the "c" options) and uncommenting selected text (the "u" option).