c# - Resharper Ctrl-T 映射丢失

标签 c# .net visual-studio keyboard

我似乎失去了 Resharper Ctrl+T 映射来快速找到类,我尝试了这里描述的解决方案:

Keyboard shortcuts are not active in Visual Studio with Resharper installed

特别是接受的答案:

I would first try resetting all Visual Studio settings (Tools > Import and Export Settings > Reset all settings), then go to the Resharper > Options > Keyboard & Menus and re-apply the keyboard shortcut scheme.

还有这个:

Setting to Resharper / Options / KeyBoard & Menus / None / Apply and Save

and then

Resharper / Options / KeyBoard & Menus / Set to Visual Studio / Apply and Save

后者什么都不做(没有明显的积极结果),前者的结果如下:

(Ctrl+T) was pressed. Waiting for second key of chord.

所以看起来 VS 正在尝试处理命令,而不是 Resharper。

Alt+Enter 但是按预期工作,因此并不是说 Resharper 完全分离。

关于如何解决这个问题的任何想法?

最佳答案

  1. 重置当前键盘配置(工具 | 选项 | 环境 | 键盘 | 重置)。
  2. 转到 ReSharper |选项 |环境 |键盘和菜单 | “ Visual Studio ” |申请计划。
  3. 点击Ctrl+T
  4. 在打开的弹出窗口中选择“使用 ReSharper 命令”(选中“应用到所有 ReSharper 快捷方式”)

关于c# - Resharper Ctrl-T 映射丢失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35341516/

相关文章:

c# - WPF MessageBox 按钮不是操作系统主题

c# - 使用 Parallel.ForEach 时跟踪进度

c# - 如何将静态类包装在非静态实例对象中(动态地)

c# - 将一些文本包装在 xml 标记中的最佳方法是什么?

c# - visual studio 2017 RC 中的 NuGet 控制台不会添加迁移或更新数据库?

c# - 当应用程序未获得焦点时监听键

c# - 无法加载文件或程序集 'System.Data.SqlServerCe,版本 = 4.0.0.0

visual-studio - qmake:测试当前规范

c# - Unity C# 嵌套 IEnumerator

visual-studio - 有没有办法在 VSTS 发布管理中做嵌套变量