Reputation: 96576
When I press F1 in Visual Studio 2008, I would like to start .NET reflector and navigate to the selected class/method (instead of waiting for the Visual Studio documentation to start up).
Is it possible to configure Visual Studio in that way?
Follow-up question:
Upvotes: 1
Views: 241
Reputation: 176229
This is not precisely an answer to your question, but I would like to add the fact that there is also a built-in way in Visual Studio to open the (de-compiled) source code of the definition of the currently selected class/method by simply pressing F12
.
Upvotes: 0
Reputation: 52450
Definitely.
You would have to write a Macro (Tools > Macros) to find the context Assembly & Type under the caret, then spawn:
Reflector <assemblyname> /select:my.namespace.typename
And finally rebind F1 to your Macro (although I would be inclined to bind it to a variant, like ctrl+shift+f1 or something since you don't always hit f1 for type help)
-Oisin
Upvotes: 1