| Summary: |
Code completion inside a class should offer to override pure virtuals first |
| Product: |
[Applications] kdevelop
|
Reporter: |
Nicolás Alvarez <nalvarez> |
| Component: |
Language Support: CPP (Clang-based) | Assignee: |
kdevelop-bugs-null |
| Status: |
RESOLVED
FIXED
|
|
|
| Severity: |
wishlist
|
CC: |
kossebau, martin+kde
|
| Priority: |
NOR
|
|
|
| Version First Reported In: |
5.1.0 | |
|
| Target Milestone: |
--- | |
|
| Platform: |
Compiled Sources | |
|
| OS: |
Linux | |
|
|
Latest Commit:
|
https://commits.kde.org/kdevelop/0fefd6faa33ceef94e6275d3d0e98bf7c65e396b
|
Version Fixed/Implemented In:
|
5.2.0
|
|
Sentry Crash Report:
|
|
| |
If I do code completion inside a class, it offers to override virtual functions in the parent class. However, the functions are simply ordered alphabetically. I think pure virtual functions should be offered first, since overriding them is *necessary* for the current class to stop being abstract. Example: class Base { public: virtual void aaa() {} virtual void bbb() {} virtual void ccc() = 0; }; class Derived: public Base { public: // code completion here shows aaa, bbb, ccc // I think it should show ccc first }; (btw, could somebody check what was the behavior in oldcpp, eg. in KDevelop 4?)