Getting rid of writting C++ boilerplate code

Jakob Petsovits jpetso at gmx.at
Mon Jul 3 23:38:45 BST 2006


On Monday, 3. July 2006 23:28, Andreas Pakulat wrote:
> On 03.07.06 22:37:45, Jakob Petsovits wrote:
> > In opposition, I think that this kind of feature should indeed happen
> > automatically, otherwise you're quicker doing it by hand.
>
> Well, I don't think so. Renaming a method can mean to update 1 header
> but four handful of implementation files. Not to mention moving a file,
> method, class whatever... I'm certainly not faster doing it by hand.

I guess it depends on what the functionality is able to do. I was referring to 
only changing the method header together with the correspondent other one.
If there are more full-fledged refactoring opportunities, it might make sense 
to get them all into consistent dialogs instead. So, yes, ok.

> Another question is: Does Kate or KDevelop even allow this (yet)? I mean
> you'd always need to check wether the just typed letter changed a method
> name. Now I don't know how the class view currently works, but I don't
> think it's constantly reparsing the file beeing edited is it?

Each time the file is changed, with a 250 milliseconds timeout :-D

Cheers,
  Jakob




More information about the KDevelop mailing list