Recent Visual Studio update introduced shortcut used to create closing curly brace on my keyboard: how to find offending command?

馋奶兔 提交于 2019-11-28 13:58:10

This has been driving me crazy for the last week. I tried to disable ReSharper, to reset the keybindings, to repair Visual Studio, all to no avail, I haven't been able to type closing curly braces since then. It never occurred to me that a new shortcut could have been introduced hijacking the keypress until reading your question.

To check if there's a rogue shortcut hijacking your keypresses, open the keyboard options screen using the ToolsOptionsEnvironmentKeyboard menus and click inside the "Press shortcut keys" field (it doesn't matter which command is selected):

Then press the affected keys combination, the combination will appear in the "Press shortcut keys" field and the associated commands - if any is - will be listed in the "Shortcut currently used by" drop-down:

To remove the shortcuts you need to search for every entry listed in the drop-down by typing the command name in the "Show command containing" field, selecting the entry in the filtered list, and removing every entry listed in the "Shortcuts for the selected commands" drop-down by clicking the "Remove" button.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!