| Summary: | C++ autocompletion wrong when several classes with same names in different namespaces | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | shift |
| Component: | Code completion | Assignee: | KDevelop Developers <kdevelop-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kbriggs2 |
| Priority: | NOR | ||
| Version First Reported In: | 3.0.0b1 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Confirmed in latest HEAD. *** Bug 108036 has been marked as a duplicate of this bug. *** This should now work with KDevelop 3.4 Can you please retest ? Fixed in 3.4. |
Version: 3.0.0b1 (using KDE 3.1.93 (CVS >= 20031111), SuSE) Compiler: gcc version 3.3.1 (SuSE Linux) OS: Linux (i686) release 2.4.21-99-default when i have two classes with same names in different namespaces, that when i expect hints of methods/fields list for an object of either of the classes, i see hints only for the class from the first namespace only. in other words: image the following C++ project: in file file2.cpp i have namespace called "secondary_space", and have class "Foo" inside it. in file file1.cpp i have namespace called "primary_space", and have class "Foo" inside it. then, in file file3.cpp, i type: namespace primary_space { void test() { Foo obj1; obj. } }; OK. when i typed "obj.", i see the list of secondary_space::Foo class instead of primary. (or, if didnot work, try vice-versa -- namespace as secondary_space, and you will see hints for primary_space::Foo -- it depends)