C++ Builder IDE >> Refactor?

by Alexander Adam » Wed, 24 Aug 2005 08:32:11 GMT

Hi!

Maybe its me but I am unable to find some tool to refactor my C++
Builder Project (Namespaces etc.).. is there any? If not, is there any
other c++ refactor tool that I could use for that?

thanks!
Alex


C++ Builder IDE >> Refactor?

by Randall Parker » Sun, 28 Aug 2005 11:26:26 GMT





I think the later versions of Visual Slick Edit have some sort of refactoring
capabilities. I am still using v7 though and so haven't used the refactor features in
the later versions.




C++ Builder IDE >> Refactor?

by Richard M. Ulrich » Mon, 29 Aug 2005 04:38:27 GMT

>

I'm using V10 (the latest as of now) and they still don't support
refactoring with BCB. They say there isn't enough of a market. If more
people from here pinged them, it might make a difference... but somehow I
doubt it.

R




Refactor?

by Randall Parker » Wed, 31 Aug 2005 08:05:25 GMT





Richard,

But why would Slick specifically need to support BCB? Is it that they choke on files
that have properties declarations?

I do about 95% of my BCB editing in Visual Slick Edit. I would expect refactoring
support to be independent of the IDE you use. Though if refactoring adds new classes
then you separately have to add those classes to your BCB project. However, that
doesn't strike me as a big burden.



Refactor?

by Richard M. Ulrich » Thu, 01 Sep 2005 22:13:45 GMT

"Randall Parker" < XXXX@XXXXX.COM > wrote in


I also do almost all of my editing in Slickedit, mainly because of the
tagging/reference features .. makes it very easy to trace through the code.

As to your question, here is their response in an email to me. Note that in
the subsequent year they HAVE added support for other compilers ... just not
BCB.














Similar Threads

1. Refactor .NET code using Visual Studio and Refactor! Pro - CSharp/C#

2. Refactor or code snipple to generate a constructor based on instances variables

3. assistance to refactor similar methods - CSharp/C#

4. Refactor-safe Property Access Using Reflection?

Hello:

I have been seeing a lot of cool examples where developers are using
expression trees to make refactoring and reflection go hand-in-hand. I
am wondering if a trick like that could be performed with properties.
I don't have much first-hand experience with expression trees.

In my system, we have GUI and non-GUI applications. I have a service
layer that returns data objects. When I attach my data objects to a
Windows Form, I decorate them to support INotifyPropertyChanged. The
decorator has methods for getting and setting property values of the
decorated data object.

I have a method that looks like this:

void SetValue<T>(string propertyName, T value) { ... }

This method goes into the decorated data object and sets it's
property. It then raises a PropertyChanged event (passing the property
name).

Now say I change my data object's property names. With the
implementation above, my decorator throws an exception because the
property cannot be found (because it is referring to the old name).

I was hoping to alleviate this by replacing my string with something
spiffy. I was wondering if anyone could think of a way to do it. We're
dealing with a user interface here, so performance isn't that
important.

Thanks,
Travis

5. 'Refactor' folder info - CSharp/C#

6. 'Refactor' has disappeared

I've been using VS2005 for a mixed C# / C++ project. Somewhere along
the line it seems that 'refactor' on the context menu disappeared for
C++ projects. I do believe that this was working at one time. Is this
a known bug?

7. Refactor This!

8. Refactor in C++

How do I refactor in C++?