[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 229250] New: Namespace support problems
From: András Manţia <amantia () kde ! org>
Date: 2010-03-03 13:20:20
Message-ID: bug-229250-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=229250
Summary: Namespace support problems
Product: kdevelop
Version: SVN
Platform: Compiled Sources
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: Language Support: CPP
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: amantia@kde.org
If you have a class declared in namespace in the header, like:
namespace Foo {
class Bar {
public:
void foo1();
void foo2();
};
}
and in the .cpp:
using namespace Foo;
when you press Ctrl-Space to automatically insert the members, it is inserted
like:
Foo::Bar foo1();
instead of:
Bar foo1();
Note that this happens ONLY if you use the autocompletion at the end of the
file, after the last method's implementation. So if you already have in the
.cpp:
Bar foo2() {
}
and invoke the autocompletion before Bar, the correct form is inserted.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic