I'm a newbie to code::blocks, and am pretty impressed so far. Code completion works well, but it seems to not work well with namespaces. My example is pretty simple. When I try to do code completion to get the "myVar" attribute, I get no listing at all. If I just remove the MyClass from the namespace, it works fine.
Is there a setting somewhere that I am missing? Can anyone else verify this problem, or is it just me? I have searched the forums but haven't seen anybody ask about this recently.
(Using v 8.02 on Ubuntu 7.10)
----- header file --------
namespace MyNamespace
{
class MyClass
{
public:
void MyFunc();
int myVar;
};
};
--- source file ---
#include "header file"
using namespace MyNamespace;
void MyClass::MyFunc()
{
myVar = 5; // code completion does not work here
}