https://bugs.kde.org/show_bug.cgi?id=450807
Bug ID: 450807
Summary: namespaces break autocomplete of new functions
Product: kdevelop
Version: 5.6.1
Platform: Appimage
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Language Support: CPP (Clang-based)
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 147099
--> https://bugs.kde.org/attachment.cgi?id=147099&action=edit
Screenshots and basic project
SUMMARY
***
If you have your header and cpp in a namespace, the auto complete (ctrl+space)
to add the implementation of functions to the cpp file does not work properly.
***
STEPS TO REPRODUCE
1. Create header and cpp file
2. Add namespace around header and cpp
3. Add declaration of function to header
4. invoke autocomplete inside namespace (broken)
5. invoke autocomplete outside namespace (working)
OBSERVED RESULT
'implement function' does not show when autocomplete is invoked inside the
namespace
EXPECTED RESULT
'implement function' should show in autocomplete normally
SOFTWARE/OS VERSIONS
Linux: Ubuntu 20.04
Qt:5.15.8
--
You are receiving this mail because:
You are watching all bug changes.