(*** This bug was imported into bugs.kde.org ***) Package: kdevelop Version: 1.1 Severity: wishlist Bugreport ID : 10:0712.03.00 Originator : Axel Pauli E-Mail : Axel.Pauli@alcatel.de Subject : deletion of a class in class browser is missing Error Class : change-request Error Location : I don´t know Priority : low Bug Description --------------------------- I want to remove a whole class from the class browser but I found no possibility to do that. How to repeat the error ------------------- Bugfix or Workaround ---------------------- When I remove the content in the source and header file it seems that the class browser will ignore than this class. System Information ------------------------ KDevelop version : 1.1 KDE version : QT version : OS/Distribution : Suse 6.3 Compiler : g++ misc :
I am using kdevelop 3.0.0a4 and was looking for thie same functionality
This bug is about four years old, is there any progress on addressing it? Thanks.
If u want this then more people need to vote for it ;)
hey man this wish is 5(five) years old!! it is easy to implement (when u delete a class its definition should be deleted and the implementation of its methods should be deleted).A usefull think will a be check in the project to see if we declared somewhere a variable of this class and give an warning before deletion
> it is easy to implement If it is so easy to implement, why don't you help us out and implement it ???
Well it is easy to a certain extent. Just the deletion of all declaration/definition stuff can be done(as long as the parser got nothing wrong. if there are syntaxerrors somewhere, you will get wrong results) but then you have to decide what to do with the files etc.
Here is how to deregister a class: You may delete the files and additionally you should check your automake-settings and delete the entry for the class file, otherwise you will get an error (no rule to make target class.cpp). That should do it.
So can this be closed with the solution from comment #7 ?
Making this a bit more general, its basically about support for deleting a class from anywhere in the IDE and the IDE adapting the source files and eventually also the buildsystem.
*** Bug 131486 has been marked as a duplicate of this bug. ***