Rebind Control+LeftClick in Resharper

我怕爱的太早我们不能终老 提交于 2019-12-10 17:19:54

问题


I want Control+LeftClick in Resharper to be bound to 'Goto Implementation' instead of 'Goto Declaration'. This is because I work with lots of interfaces, and most of the time I want to visit the implementation not the interface declaration. Is there any way of doing this?

I know about ReSharper | Options -> Environment | Search & Navigation to enable or disable the Go to declaration on <Control + Left click>. But I want to rebind the keyboard gesture, not disable it.


回答1:


It's not possible to rebind the ctrl-click behaviour, unfortunately. However, the behaviour has been extended in 8.1 (just hit beta). It's now like this:

  • Ctrl+click: Go to declaration
  • Ctrl+alt+click: Go to implementation
  • Ctrl+shift+click: Peek definition (in VS2013)

Here's the issue ticket: RSRP-203864



来源:https://stackoverflow.com/questions/20179998/rebind-controlleftclick-in-resharper

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