[英]Visual Studio 2015 Ctrl + D (code duplication) not working (keyboard shortcut scheme issue with Resharper)
Ctrl + D in a Visual Studio 2015 Windows10 project is not working at all.. its working in Notepad++. Visual Studio 2015 Windows10 项目中的 Ctrl + D 根本不起作用..它在 Notepad++ 中工作。 I have tried to reboot my machine, and closed down Visual Studio but nothing works.
我试图重新启动我的机器,并关闭了 Visual Studio,但没有任何效果。
I have Windows 10 Threshold 2 and Visual Studio 2015 Version 14.0.23107.0我有 Windows 10 Threshold 2 和 Visual Studio 2015 版本 14.0.23107.0
PS: it was working fine yesterday... PS:昨天还好好的……
Edit1:编辑1:
RESHARPER is/was the culprit RESHARPER 是/曾经是罪魁祸首
How to fix:怎么修:
and now its working again!现在它又开始工作了!
重新安装 ReSharper 为我解决了这个问题
Just FYI, If you are VS 2019 User:仅供参考,如果您是 VS 2019 用户:
Extensions > Resharper > Options > Environment > Keyboard扩展> Resharper >选项>环境>键盘
Change Keyboard Scheme to None and save, then go back again and change it to Visual Studio将键盘方案更改为无并保存,然后再次返回并将其更改为Visual Studio
I was struggling with this problem for a while and this method fixed it.我在这个问题上挣扎了一段时间,这个方法解决了它。
Below steps are worked for me.以下步骤对我有用。
转到文件->首选项->键盘快捷键-> 在顶部搜索重复-> 双击重复选择-> ctrl+Shift+D -> 按Enter
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.