23

重複の可能性:
インターフェースのメソッドの実装をどのようにすばやく見つけますか?

私はReSharperのGoToImplementation機能が好きですが、ReSharperを無効にしておくことがよくあります。Visual Studio 2010に相当する拡張機能はありますか?

4

6 に答える 6

7

Ctrl+ F12- 宣言に移動

于 2011-06-06T04:51:52.223 に答える
4

私にとって、VS2010(およびVS2008の場合)で「実装に進む」機能を取得する最も簡単で無料の方法は、

  1. 無料の CodeRush Xpress をインストール http://msdn.microsoft.com/en-us/vstudio/ee663901

  2. Miha Markic による「実装者に移動」Code Rush 拡張機能をインストールします。作者は今日、拡張機能を最新の CodeRush Xpress 11.2.11 http://blog.rthand.com/page/Go-To-Implementator.aspxで動作するように更新しました。

非常にうまく機能します。

于 2012-05-14T03:35:08.560 に答える
1

短い答え、いいえ。

私の意見では、Resharperを常に有効にしておくことを目指す必要があります。ソリューション全体の分析がオフになっていることを確認し、最新のresharperを使用する(Resharper 6は現在リリースされています)か、PCをアップグレードします。

于 2011-06-14T13:49:22.450 に答える
1

キーボードショートカットではありませんが、 NoahRichardsによるGoTo Definitionは、VisualStudioの便利で軽量な拡張機能です。

于 2012-02-09T22:29:05.983 に答える
1

I'm honestly not overly familiar with Resharper but if the "Go To implementation" you are talking about is when you can click on a method call and it will take you to that method's code then I would suggest the "Productivity Power Tools" created by Microsoft.

private void foo()
{
 // does stuff
}

private void main()
{
 // hold down CTRL, foo() below will turn into 
 // a hyperlink that you can click on
 foo();
}

Here's the link http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef/

This will allow you to hold down the CTRL key which turns methods and variables into hyperlinks which when clicked will take you to where these were defined originally.

These Tools also can clean up unused Imports/using statements at the top of you code-behind/class files. And my favorite auto bracket completing

于 2012-02-08T18:04:08.157 に答える