Visual Studio 2010扩展,用于转到接口的实现? [英] Visual Studio 2010 extension for Go To Interface Implementation?

本文介绍了Visual Studio 2010扩展,用于转到接口的实现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
如何快速找到实现接口的方法?

Possible Duplicate:
How do you quickly find the implementation(s) of an interface’s method?

我喜欢ReSharper的转到实现"功能,但是我经常禁用ReSharper. Visual Studio 2010是否有等效的扩展程序?

I like ReSharper's Go To Implementation feature but I often keep ReSharper disabled. Is there an equivalent extension for Visual Studio 2010?

推荐答案

我也在寻找这个执行"的扩展.但不幸的是我找不到任何东西.也许我们将不得不等待Visual Studio的下一个版本,或者重新启用ReSharper(我认为这会消耗太多资源)

I'm looking for the extension for this little "go to implementation" too. But unfortunately I couldn't find any. May be we will have to wait next version of visual studio or enable ReSharper back (which in my opinion, eating too much resources)

现在对我来说最好的解决方案是使用VS2010的呼叫层次结构"功能.请按照下面的说明进行操作

Well the best solution for me right now is to use "Call Hierarchy" feature of VS2010. Just follow my instruction below

  1. 将光标移至目标方法名称
  2. 按"Ctrl K,Ctrl T"(这会弹出呼叫层次结构窗口")
  3. 按向下",向下",向右",向下","Enter"(这将转到您的实现方法)
    • 看起来很有趣,但这实际上是使用键盘导航至所需项目的方式
  1. Move cursor to the target method name
  2. Press "Ctrl K, Ctrl T" (this will pop up "Call Hierarchy Window")
  3. Press "Down", "Down", "Right", "Down", "Enter" (this will go to your implementation method)
    • Look funny but it is actually the way to use keyboard to navigate to the item you want
  • 按下",按下"->转到实现'xxx'"
  • 右"->展开子项
  • 下"->专注于实现方法
  • 输入"->导航到它
  • "Down", "Down" --> go to "Implements 'xxx'"
  • "Right" --> expand children
  • "Down" --> focus on the implementation method
  • "Enter" --> navigate to it

希望获得帮助

这篇关于Visual Studio 2010扩展,用于转到接口的实现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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