treesAreEverywhere
treesAreEverywhere

Reputation: 3972

In Visual Studio 2013, can I jump to the usage of the object under the cursor by just one key?

This question is about a C# project in Visual Studio 2013.

A lot of times, I have methods that are used only exactly ONCE. In other words, there's only one reference.

In that case, I'd like to navigate to where this function is called, by just pressing ONE keyboard shortcut.

I wasn't able to find a command for this. Is this possible to achieve this with any extension?

Upvotes: 1

Views: 95

Answers (2)

Sergey Vlasov
Sergey Vlasov

Reputation: 27890

The Edit.GoToReference command navigates to the first reference call.

Upvotes: 1

Sergey Kolodiy
Sergey Kolodiy

Reputation: 5899

ctrl + K, ctrl + R also does exactly what you need. You can assign your own shortcut for Edit.FindAllReferences command in Visual Studio Options - Environment - Keyboard.

Upvotes: 0

Related Questions