在 visual studio 2012 中评论代码时出现问题

issue while commenting the code in visual studio 2012

在 Visual Studio 2012 年,如果我尝试使用组合键 Ctrl+k 评论代码,Ctrl+c 然后显示"the key combination (ctrl+k,ctrl+c) is bound to command(command section) which is currently not available."

如何评论代码?

工具 -> 选项 -> 环境 -> 键盘: 然后在 Show commands containing 文本框中键入以下内容之一:

  • Edit.CommentSection
  • Edit.UncommentSection