Renaming classes

Alvin alvinbeach at gmail.com
Sun Jan 20 02:24:19 GMT 2008


On Saturday 19 January 2008 21:48:01 Phil wrote:
> Thank you for reading this.
>
> I want to rename a class to a more meaningful name. Is it possible to
> change a class name easily?
>
> The only solution that I can see is to create a new class and then copy the
> old code into the new class files. Doable but a bit messy.
>
> Regards,
> Phil.

What I do is Edit->Find-Select-Replace. It's like doing a replace, but on all 
the files in your project. However, you can use the options to perform the 
replace on only the open files if you like.

Alvin






More information about the KDevelop mailing list