From kdevelop-devel Fri Jul 15 05:29:09 2005 From: Vladimir Prus Date: Fri, 15 Jul 2005 05:29:09 +0000 To: kdevelop-devel Subject: Re: New parser branch (Was: Dumping the source DOM?) Message-Id: <200507150929.09798.ghost () cs ! msu ! su> X-MARC-Message: https://marc.info/?l=kdevelop-devel&m=112140549329745 On Thursday 14 July 2005 20:19, Steven T. Hatton wrote: > On Thursday 14 July 2005 01:34, Vladimir Prus wrote: > > On Wednesday 13 July 2005 23:05, Daniel Franke wrote: > > > as I understand it: code-refactoring is a buzzword for > > > search-and-replace?! .... > Just the ability to modify the function declaration (or definition) in an > existing class, and have the changes reflected in the corresponding > definition (or declaration) would be nice. It might also be possible to > merge or split a function definition so that one that is defined in the > body of a class definition could be split into a declaration in the header, > and a definition in the implementation file. Keeping comments synchronized > with the source code could also be helpful. There are many, many > possibilities. As soon as we're in "would be nice to have" mode, one of the most important refactoring is "extract method" -- you have a large function and extract some portion of it into a separate function (passing all the local variables used in that block) as parameters. Would be extra handy when working on existing code with 200-line functions. This refactoring alone would be a great increase in productivity. - Volodya _______________________________________________ KDevelop-devel mailing list KDevelop-devel@barney.cs.uni-potsdam.de http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel