Visual C++ Refactoring

Microsoft Free

Add support for Visual C++ Refactoring ('rename' only)

(40) Review
Visual Studio
Download (35,034)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (40)
Q and A (13)
Sign in to write a review
Sort by:

by Graham Asher | August 28 2015

Seems to work, but one important feature is missing. It doesn't work for data members of template classes. For example, I had a class

template<class T> class TPoint2 { /* ... */ T iX; T iY; }

and an instantiation of that template using a typedef:

typedef class TPoint2<double> TPointFP;

Renaming iX and iY to m_x and m_y doesn't work for uses of TPointFP.

by hatake-kakashi | August 16 2015


by Sumonto | August 14 2015

Nice if you could add refactor to function, and/or extract to function input.


by dsabelnikov | May 31 2015

lol, it's 2015 and Microsoft releases a feature that all IDEs were always capable of. and, according to other comments it doesn't even work correctly in all cases. Visual Studio is worst IDE ever.

by Hubertsn | March 31 2015

Finally! Great ;)

by Donald.W.Long | March 19 2015

Installed this today and used it to do several major refactoring, works well. I would like to see it updated to refactor include lines also. My team will start using this. Should be standard in the VS release

by mpietras | March 18 2015

The Visual Studio 2013 editor itself clearly understands the context/scope of variables. If you select a variable, it highlights all occurrences of the variable only in the current scope (even if an identical variable hides one in an outer scope). But this 1.1 refactoring plugin doesn't take advantage of that knowledge, it just seems to blindly look for identical identifiers everywhere including other methods, classes, etc... not quite what I had in mind.

by Dunk_SCO | March 02 2015

Love it! Why is this not part of VS proper? Or is it in 2015 now?

by Minsang Kim | February 05 2015

by Stephan_Gerhards | January 26 2015

Very good. Nothing more to say. Please think about more function.

by jshahbazi | January 14 2015

Love it! Thanks so much for making this! This makes life much easier when developing.

by Genesis8925 | December 22 2014

Looks like a nice add-in, however, no VS2012 support means I can't use it. The project I do all my C++ in cannot be upgraded yet as the core team hasn't gotten around to upgrading it for VS2013. :(

by Daniel Liberman | December 01 2014

I thought that being an extension developed by Microsoft it would be compatible with Express versions. I read somewhere that Express versions won't accept "third-party" created extensions, only. Confirmed by this answer, from Ryan Molden:

by qPCR4vir | September 22 2014

by Marcel Raad | July 21 2014

Great tool! Two suggestions for improvement:

1) If I want to rename a member function that IntelliSense hasn't indexed properly ("Go To Definition" in the header file just jumps to the start of the .cpp file and the "IntelliSense operation in progress" dialog does not appear for some reason), I get an error message saying "object reference not set to an instance of an object".

2) The "Please wait while we process the data" dialog should be cancelable.

by Heinz Wrosch | April 04 2014

This is the extension I've waited a million years for!

by DannMSDN | April 01 2014

Seems like a great concept but when attempting to use (in my admittedly gigantic solution), even on a single project, renaming a variable leads to popping up a "Visual Studio is Working" box that cannot be canceled or otherwise, and after about 15 minutes, the only way to end it is by killing the VS2013 process through task manager.

The var I was trying to rename was localized to a single function that wouldn't be seen anywhere else. The name is used in many places but this specific one had very little scope. Does this just search the whole solution/project for any use of the word, then figure scope afterward?

After trying to use this three times with similar results, I decided to uninstall it -- bummer.

by jesgdev | March 18 2014

Very useful, thanks. Keep up the good work.

by Michael Steinhaus | March 12 2014

Fantastic plugin. Indispensable for a large legacy project maintenance.

by v.vidov | February 05 2014

Very good, looking forward for 'Extract Method', 'Rename Files'
Plaese, include *.rc files in refactoring:)

1 - 20 of 40 Items   
Sign in to start a discussion

  • Target .net framework is missing
    3 Posts | Last post August 11, 2015
    • Ive got .net 4.5 and 4.5.1 installed on my windows 10 and it refuses to be installed. Any solutions to this?
    • This issue is bothering me, too.
      VCRefactoringPkg.vsix can be installed on Windows 8.1 but it can not be installed on Windows 10.
      The "Target .net framework is missing" can not be the reason for this issue because I have Visual Studio 2008, 2010, 2012 and 2013 installed on my Windows 10 PC. That is, I have almost all versions of .NET framework installed on my Windows 10 PC. 
    • VS2013 Update 5 fixes this issue!
  • High Contrast destkop theme and dark VS2013 theme ...
    1 Posts | Last post July 07, 2015
    • Hi,
      since needed to switch to high contrast desktop theme and dark VS2013 theme I have massive problems using your extension, because the source code preview control in the window does not follow the rules and is white, so that yellow or light colored text is unreadable.
      could you please update your extension to follow the guidlines/rules?
      Kind regards,
  • VS2010 and VS2012
    1 Posts | Last post July 03, 2014
    • Would be nice to have VS2012 and VS2010 version.
  • C++/CLI?
    1 Posts | Last post April 21, 2014
    • Regarding this Visual Studio extension, what's its official claim regarding refactoring of C++/CLI (managed) code?
  • VS2012 version
    1 Posts | Last post March 20, 2014
    • Would be nice to have a VS2012 version.
  • Renamed header files - unusable to me
    1 Posts | Last post March 12, 2014
    • Hi there, this thingie renamed in a much more global scope than required. I had a global variable called "Height" and renamed it to "_height". It then traversed through all my include files and changed them! Things like D3D11blabla._height were the result, inside DX typedefs and whatnot. That's inacceptable behavior.
  • Next up: Introduce Variable?
    1 Posts | Last post February 05, 2014
    • It's nice to see an official refactoring extension from Microsoft! 
      Is there a list of upcoming transformations that you plan to add?
      I would very much like to see an "Introduce variable" transformation (i.e., find all instances of the selected expression and replace it with a const- or non-const local variable declared either before the first use or directly above the enclosing scope.
  • Refactor missing on context menu
    1 Posts | Last post January 16, 2014
    • I have had to reinstall Visual C++ Refactoring a few times, because the Refactor command on the context menu disappears. Could there be a conflict with other extensions? (Possibly Snippetizer or Commentator?) I am using the 1.1 version, the latest.
  • Does not work with std::pair<Type, ...>
    1 Posts | Last post January 09, 2014
    • Just a small bug report. It does not appear to rename types inside std::pair, possibly due to the angle brackets.
  • Does it works across language
    1 Posts | Last post December 04, 2013
    • In a solution that has both C++/CLI code and C# code, things like this one should works across language in both direction. That is, renaming a C# symbol should rename dependant C++/CLI code and renaming a C++/CLI symbol should also rename C# dependant symbols.
      I hope that the integration would be better than "Go To Definition" and the like in VS 2012 (I haven't yet tried VS 2013).
1 - 10 of 13 Items