Bug 376141 - Cannot use function-completion within namespace scope
Summary: Cannot use function-completion within namespace scope
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (Clang-based) (show other bugs)
Version: 5.0.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 383043 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-02-07 15:44 UTC by Weng Xuetian
Modified: 2017-08-02 15:20 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Weng Xuetian 2017-02-07 15:44:44 UTC
header: a.h
namespace ns {
class A {
public:
   A();
};
}

source: a.cpp
#include "a.h"
namespace ns {
<--- move cursor here and type "A", I expect "A::A()" would be inserted.
}


When I tried to use code completion to insert a function definition stub, it won't work. It only works in a anonymous namespace.
Comment 1 Serge Lussier 2017-08-02 13:11:10 UTC
Wow! This bug is still marked as "unconfirmed" ????? 
I've just created a new bug (  Bug ID: 383043 ) about the very same ...bug ...

What's happening ? Just put this bug ( two tickets now on it + one mostly 100% related indirectly to this bug; ... ) hidden under the carpet and completely ignore it ? 

This bug and the two other related bug-id must not be "normal" but really as critical because that kind of bug is touching the Fundamentals of CPP-SUPPORT in the IDE...

Hello ?
Comment 2 Kevin Funk 2017-08-02 14:18:03 UTC
*** Bug 383043 has been marked as a duplicate of this bug. ***
Comment 3 Sven Brauch 2017-08-02 15:20:39 UTC
Yes, it's broken. Patches welcome. Screaming doesn't help ... it annoys me as well ...