Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good refactoring support for C++ [closed]

The Visual Studio refactoring support for C# is quite good nowadays (though not half as good as some Java IDE's I've seen already) but I'm really missing C++ support.

I have seen Refactor! and am currently trying it out, but maybe one of you guys know a better tool or plugin?


I've been working with Visual Assist X now for a week or two and got totally addicted. Thanks for the tip, I'll try to convince my boss to get me a license at work too.
I've been bughunting for a few days since Visual Assist X kept messing up my Visual Studio after a few specific refactorings, It took me (and customer support) a week to hunt down but let's say for now that Visual Assist X is not a good combination with ClipX.
like image 538
Huppie Avatar asked Aug 19 '08 13:08

Huppie


People also ask

What are the best practices for refactoring?

For many developers, the best moment to refactor is before working on a new version of the software or before adding new functionality. Cleaning up the code before adding new features to it improves the quality of the product itself and makes the job easier for other developers.

What is code refactoring in C?

Refactoring or Code Refactoring is defined as systematic process of improving existing computer code, without adding new functionality or changing external behaviour of the code. It is intended to change the implementation, definition, structure of code without changing functionality of software.

What is the best approach to ensure that a code fix doesn't break?

Refactoring your code makes it easier to read and maintain. Refactoring doesn't change the external functionality of your code; it changes the way the code achieves that functionality.

When should you conduct refactoring?

The best time to consider refactoring is before adding any updates or new features to existing code. Going back and cleaning up the current code before adding in new programming will not only improve the quality of the product itself, it will make it easier for future developers to build on the original code.


2 Answers

Visual Assist X by Whole Tomato software is not free, but it's absolutely worth the money if you use Visual Studio for C++.

http://www.wholetomato.com/

like image 176
bradtgmurray Avatar answered Sep 21 '22 12:09

bradtgmurray


I have tried Refactor!, as its features seemed promising, as did its testing with a simple testing project, but it failed to work with our real project at all - a lots of CPU activity, sometimes even frozen VS IDE, Refactoring UI not appearing at all for most of the code.

We are using Visual Assist X instead. While it does not offer than many refactorings and it seems to me somewhat more complicated to use, it works.

like image 29
Suma Avatar answered Sep 22 '22 12:09

Suma