User forums > Help

Code completion misbehaving

(1/1)

John:
I've built C::B rc2 on Fedora Core 4.
Here is what I discovered. It refuses "to codecomplete" struct members if the structure either the variable are declared in a global context like this:
---
struct s { int i, j; };
s S;
int main()
{
    S.
       ^^^^ nothing happens here
---
Is it right for now?

MortenMacFly:

--- Quote from: John on October 28, 2005, 10:54:47 am ---    S.
       ^^^^ nothing happens here

--- End quote ---
Works well for me. Try a "CTRL + Space" at this point.

Morten.

John:
I tried... Nothing happens though. :( It works when 'struct' is somewhere in a header file automatically provided I use the local (in the function) definition of the variable only. :)

Tjaalie:
I don't realy know if I'm right. But when this kinds of things happen to me
I just save the file and then try it agian. And it all works agian.

Tjaalie,

John:
Yippee! Thanks! It works! I'll proceed to explore it!
Though it still crushes suddenly sometimes I like it...
Is it a bug? Why I have to save every time? ...

Navigation

[0] Message Index

Go to full version