Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Kashrlyyk on October 18, 2009, 06:14:11 am

Title: Problem with code completion and <list.h>
Post by: Kashrlyyk on October 18, 2009, 06:14:11 am
Whenever I include <list.h> in a project, code completion will from that point onwards only return:
"Too many results. Please edit the ......."

Even if I increase the results limit to 1048576.
Even if I write "floa" which should have only 4 or 5 results.
Title: Re: Problem with code completion and <list.h>
Post by: ollydbg on October 18, 2009, 06:39:52 am
Whenever I include <list.h> in a project, code completion will from that point onwards only return:
"Too many results. Please edit the ......."

Even if I increase the results limit to 1048576.
Even if I write "floa" which should have only 4 or 5 results.
C::B version? please give a simple test code.
works here.(windows XP SVN)
See the screen shot.




[attachment deleted by admin]
Title: Re: Problem with code completion and <list.h>
Post by: blueshake on October 18, 2009, 08:29:59 am
as I know ,non-English chars will cause this issue.
Title: Re: Problem with code completion and <list.h>
Post by: oBFusCATed on October 18, 2009, 12:25:17 pm
Why do you include <list.h> instead of <list> ?
Title: Re: Problem with code completion and <list.h>
Post by: Kashrlyyk on October 30, 2009, 08:09:40 am
Whenever I include <list.h> in a project, code completion will from that point onwards only return:
"Too many results. Please edit the ......."

Even if I increase the results limit to 1048576.
Even if I write "floa" which should have only 4 or 5 results.
C::B version? please give a simple test code.
works here.(windows XP SVN)
See the screen shot.




I tried to make a test code, but I failed because now everything works and I don't know why. Even reducing the results limit back to the default value doesn't cause problems.
Title: Re: Problem with code completion and <list.h>
Post by: zabzonk on October 30, 2009, 11:01:55 am
My experience with code completion is that saving everything, shutting down CB, and then re-starting it again will normally make things start working again. I need to do this quite frequently :-( This is on Win2K usinfg SVN 5858 (but same problem with all other builds I've tried).