User forums > Help

Code completion trouble

<< < (3/3)

Michael:

--- Quote from: killerbot on December 31, 2005, 07:17:45 pm ---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  <------------------------- so I only have problems here
   var.        // <- works

   return 0;
}

--- End quote ---

I have also tried this code and saved where killerbot did.

foo var( did not work, but if I pressed ctrl+space bar, I get a list of possibilities:


--- Quote ---class foo
function func(double):void

--- End quote ---

I have also remarked that sometimes I do not get the list of possibilities when I type e.g., var.. Or, the first time I get it (if not, I simply press ctrl+space bar), but if I skip and try a second time it does not work (even ctrl+space bar does not work) :?. But if I save the file and then retry, it works.

I use C::B SVN rev1648 (windows XP SP2).

Michael

PS.: It seems to me that the code between tt tags is now small again (babylon theme). Did something change?

K.I.L.E.R:
I have a suggestion.
I solved most of my code completion troubles by disabling cache but leaving the option enabled that always updates cache.

Michael:

--- Quote from: K.I.L.E.R on January 07, 2006, 12:43:00 pm ---I have a suggestion.
I solved most of my code completion troubles by disabling cache but leaving the option enabled that always updates cache.

--- End quote ---
Interesting :). Anyway, not a long-term solution, because if you disable the cache, why you need to update it?

Michael

K.I.L.E.R:
Just in case. :)


--- Quote from: Michael on January 07, 2006, 01:42:10 pm ---
--- Quote from: K.I.L.E.R on January 07, 2006, 12:43:00 pm ---I have a suggestion.
I solved most of my code completion troubles by disabling cache but leaving the option enabled that always updates cache.

--- End quote ---
Interesting :). Anyway, not a long-term solution, because if you disable the cache, why you need to update it?

Michael


--- End quote ---

Navigation

[0] Message Index

[*] Previous page

Go to full version