Shimmy Weitzhandler
Shimmy Weitzhandler

Reputation: 104741

Keyboard shortcut for code refactor (var rename) in Visual Studio

When renaming a variable in Visual Studio (I use 2010), it shows a little mark that when clicked, leads to a drop-down that offers to rename all the dependant references.

What I want to do, is spare getting the mouse and click it in order to show the drop-down.
I was wondering if there is a way to access it via the keyboard.

Upvotes: 13

Views: 6705

Answers (2)

simon
simon

Reputation: 41

If you wish to assign your own shortcut, go to Tools | Options | Environment | Keyboard, then in the "Show commands containing" field, enter the text View.ShowSmartTag

Upvotes: 4

Damb
Damb

Reputation: 14600

I believe that shortcut is Ctrl + . [dot] :)

Upvotes: 27

Related Questions