Dimebag
Dimebag

Reputation: 843

Refactor in Visual Studio Express 2010 C++

It's funny I have to ask this but I can't figure it out. I'm used to coding Java in Eclipse where you have the shortcut Alt + Shift + R to refactor/rename a variable. Now I'm learning C++ and thought I should use Visual Studio.

What's the darn shortcut in VS2010 Express? C + . or Alt + Shift + F10 are not doing anything.

Kind regards, Frustrated coder

EDIT: Simply using the 'quick find and rename' thing is not useful since I made the 'mistake' of naming some variables with single letters.

Upvotes: 0

Views: 278

Answers (1)

jpw
jpw

Reputation: 44881

Visual Studio versions before 2015 (in preview now) doesn't have support for refactoring C++ code at all. For VS 2013 there is an extension that adds the refactor/rename option for C++.

Since you're using the free Express edition maybe upgrading to the free 2013 Express Community edition could work? (Apparently the Express editions doesn't allow add-ins, but the Community ed. does).

Visual C++ Refactoring extension for VS2013.

About the upcoming features: All about C++ Refactoring in Visual Studio 2015 Preview

Upvotes: 2

Related Questions