overwritting of source files - bug or feature?

Frank Bauer marunet at web.de
Tue Nov 2 21:39:36 GMT 1999


Hi kdeveloper!

Developing with kdevelop (which is fun generally) I had an a bit unpleasant
surprise today.

I meant to include a new class into the project. So, select "new class",
filling in class name and base class ... and decided _not_ to generate 
new files but to use existing ones. 

Having finished that, a message poped up that my source file has been 
changed outside the editor and whether I want to reload. Yes, I thought, the
new class has been added, better to reload. And so I did. 
Surprise, surprise, the parts for the new class were in there but everything
which had been there before was gone  :(   (and of course I don´t have a back up!)

I didn´t get the reload-question for the header file, but checking out the
header file on hard disk, I found it was overwritten as well. *sob*

Is this a bug or a feature?

I personally would like to see things appended to the existing file in such a 
case. 

best regards
Frank

PS: I´m using 1.0beta4.1



More information about the KDevelop mailing list