Bug 450807 - namespaces break autocomplete of new functions
Summary: namespaces break autocomplete of new functions
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (Clang-based) (show other bugs)
Version: 5.6.1
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-24 15:16 UTC by Ian H
Modified: 2022-02-24 15:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshots and basic project (312.61 KB, application/zip)
2022-02-24 15:16 UTC, Ian H
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian H 2022-02-24 15:16:15 UTC
Created attachment 147099 [details]
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