2

In Visual Studio 2012, if I am trying to comment the code using the key combination Ctrl+k, Ctrl+c then it is showing "the key combination (ctrl+k,ctrl+c) is bound to command(command section) which is currently not available."

How can I comment the code?

rink.attendant.6
  • 44,500
  • 61
  • 101
  • 156
rajasekhar
  • 55
  • 5
  • this link might be helpful http://stackoverflow.com/questions/4327844/vs-2008-intellisense-missing-the-key-combination-is-bound-to-command-which-is-n and this http://stackoverflow.com/questions/2547915/ctrlr-ctrlr-command-not-working – user1627167 Feb 17 '15 at 07:41

1 Answers1

2

Tools -> Options -> Environment -> Keyboard: Then type in Show commands containing textbox one of the following:

  • Edit.CommentSection
  • Edit.UncommentSection

enter image description here

Nicolai
  • 1,907
  • 1
  • 23
  • 31