按Ctrl + R,按Ctrl + R命令不工作 [英] Ctrl+R, Ctrl+R command not working

查看:2251
本文介绍了按Ctrl + R,按Ctrl + R命令不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图到Visual Studio 2008中使用<大骨节病>控制 + <大骨节病>研究,<大骨节病>控制 + <大骨节病>研究命令重命名变量。我在底部得到一条错误消息说,

I'm attempting to use the Ctrl+R, Ctrl+R command within Visual Studio 2008 to rename a variable. I get an error message at the bottom saying that

的组合键(<大骨节病>控制 + <大骨节病>研究,<大骨节病>控制 + <大骨节病>研究)被绑定到命令(安培;重命名...),这是当前不可用

"The key combination (Ctrl+R, Ctrl+R) is bound to command (&Rename...) which is not currently available."

我不运行它或任何我能想到其中可能禁止文件的修改和F2命令允许重命名的情况发生。任何人都知道如何解决这个问题。

I am not running it or anything I can think of which might prohibit modifications of the file and the F2 command allows a rename to happen. Anyone know how to fix this?

编辑:?我已经安装了ReSharper的,但以前能够使用相同的设置要做到这一点,我最近迁移的计算机

I do have Resharper installed but was previously able to do this with the same setup, I recently migrated computers.

推荐答案

我可以通过以下操作来解决这个问题:

I was able to fix this by doing the following:


  1. ReSharper的的&RARR;的选项的菜单条命令

  2. 选择的环保的&RARR;的键盘和放大器;菜单

  3. 选择在Visual Studio的选项的键盘快捷键

  4. 点击应用方案保存

  1. Go to ResharperOptions menu commmand
  2. Select EnvironmentKeyboard & Menus
  3. Select the Visual Studio option under Keyboard Shortcuts
  4. Click Apply Scheme and Save

这将导致<大骨节病>控制 + <大骨节病>研究,<大骨节病>控制 + <大骨节病>研究做一个重命名。 (选择在弹出那么对话框整形选项。)

This will cause Ctrl+R, Ctrl+R to do a rename. (Select ReShaper options in the dialog box that pops up then.)

不过,这让<大骨节病> F2 不再能够瓶坯进行重命名。我能解决这个问题通过执行以下操作:

However, it made F2 no longer able to preform a rename. I was able to fix that by doing the following:


  1. ReSharper的的&RARR;的选项的菜单命令

  2. 选择的环保的&RARR; 常规

  3. 选择下的恢复ReSharper的键盘快捷键

  4. ReSharper的2.x或IntelliJ IDEA的
  5. 点击应用的或的确定

  1. Go to ReSharperOptions menu command
  2. Select EnvironmentGeneral
  3. Select the ReSharper 2.x or IntelliJ IDEA under Restore ReSharper keyboard shortcuts
  4. Click Apply or OK

这同时允许<大骨节病> F2 < /骨节病>和<大骨节病>控制 + <大骨节病>研究,<大骨节病>控制 + <大骨节病>研究命令来重命名一个变量工作。

This allows both F2 and Ctrl+R, Ctrl+R commands to work for renaming a variable.

这似乎是特定于ReSharper的安装有Visual Studio中,我不知道有什么解决办法是解决这一问题,如果没有安装ReSharper的。

This seems to be specific to ReSharper being installed with Visual Studio, I don't know what the solution would be to fix this if ReSharper weren't installed.

这篇关于按Ctrl + R,按Ctrl + R命令不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆