Summary: | Allow to delete classes and change project | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Unknown <null> |
Component: | Language Support: CPP (old) | Assignee: | kdevelop-bugs-null |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | AArzamasov, esigra, greatbunzinni, justacec |
Priority: | NOR | ||
Version: | 4.0.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Axel Pauli
2000-03-13 08:35:52 UTC
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. *** |