c# - VS2015- "The key combination (ctrl+K ctrl+M) is bound to command (generate method) which is not currently available"

标签 c# visual-studio-2015 shortcut

自从我升级到Visual Studio 2015后,我不能再使用Ctrl+K, Ctrl+M 生成方法 stub (c#)。尝试这样做会显示

组合键Ctrl+K Ctrl+M绑定(bind)命令(生成方法) 当前不可用

相反,我似乎不得不使用烦人且笨重的 Action 灯泡,这需要鼠标或键盘右键单击键。有没有办法让旧的 Ctrl+K/Ctrl+M 在 VS 2015 中再次工作?键盘快捷键仍然存在但没有执行任何操作,这似乎很奇怪。

最佳答案

你可以去工具|选项 |环境 |自定义快捷键的键盘

关于c# - VS2015- "The key combination (ctrl+K ctrl+M) is bound to command (generate method) which is not currently available",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33451449/

相关文章:

javascript - JsonConvert.DeserializeObject 在将字符串转换为日期时抛出错误

c# - 使用反射发射时为 "Bad label content in ILGenerator"

c# - 在 VS2015 中,如何为自动实现的属性禁用 Step Into?

c# - 怎么给桌面应用程序快捷方式添加图标

c# - 工具提示绑定(bind)到文本 - 如何在文本为空白时避免出现小矩形

c# - Thread.Sleep(1) 在 C# 中有什么影响?

crash - E_UNEXPECTED UWP 灾难性故障

c# - 无法加载文件或程序集 Microsoft.Practices.ServiceLocation,版本 = 1.3.0.0

visual-studio-2010 - Visual Studio 2010 : change shortcut "delete whole line"