Ctrl + K,Ctrl + C是在Visual Studio 2010中不再起作用的命令 [英] Ctrl+K, Ctrl+C is a command no longer working in Visual Studio 2010
问题描述
我正在使用Visual Studio和Resharper 8.
I am using Visual Studio and Resharper 8.
出于某些原因,我最喜欢的快捷键 Ctrl + K , Ctrl + C 或 Ctrl + D 不再起作用.
For some reasons, my favorite shortcut Ctrl+K, Ctrl+C or Ctrl+D no longer works.
实际上,该应用程序在状态栏中显示消息:The key combination is(Ctrl K Ctrl C ) is not a command
.
Indeed, the application shows in the status bar the message: The key combination is(Ctrl K Ctrl C ) is not a command
.
任何想法如何重置它们?
Any ideas how to reset them?
非常感谢.
推荐答案
非常奇怪的问题.是的,可以在Visual Studio中编辑命令.选择Tools
,然后选择Options
.显示窗口后,选择Environment
选项组,然后选择Keyboard
,如下图所示:
Very strange problem. Yes, it is possible to edit the command in Visual Studio. Select Tools
and then Options
. Once the window is shown, select the Environment
option group and then Keyboard
, as shown in the picture below:
在那里,您可以编辑快捷方式:
There, you can edit the shortcuts:
-
Edit.CommentSelection
用于注释选择(默认快捷方式: Ctrl + K , Ctrl + C ) -
Edit.FormatDocument
设置文档格式(默认快捷方式: Ctrl + K , Ctrl + D )
Edit.CommentSelection
for commenting a selection (Default shortcut: Ctrl+K, Ctrl+C)Edit.FormatDocument
to format the document (Default shortcut: Ctrl+K, Ctrl+D)
这篇关于Ctrl + K,Ctrl + C是在Visual Studio 2010中不再起作用的命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!