User forums > Help

Code completion trouble

(1/3) > >>

spoofer:

--- Code: ---class foo
{
   public:
      foo(int, float);
      void bar(const char *);
};

int main()
{
   foo var(    // <-
   var.        // <-

   return 0;
}
--- End code ---

I get nothing on those marked spots. I have following option checked: [follow global, follow local, parse preprocessor]. Plugin is checked to be loaded. Class explorer is working.

thomas:
Save the file.

spoofer:
I know about that. I saved after typing int main(), doesn't work.

thomas:
I tried, it works just fine.

If you did save your file and it still does not work for you, then you very likely have no project.

spoofer:
This is strange, functions works:


--- Code: ---class foo
{
   public:
      foo(int);
      void bar(float);
};

void func(double);

// <- file saved at this point

int main()
{
   func(       // <- works
   foo var(    // <- doesn't work
   var.        // <- doesn't work

   return 0;
}
--- End code ---

EDIT: I'll try installing latest SVN from Ceniza. Should I manually remove some files (configuration)?

Navigation

[0] Message Index

[#] Next page

Go to full version