Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

Code Completion & Workspace

(1/7) > >>

seb_seb0:
Hello,

I have a problem with CodeCompletion, in a workspace containing 3 libs + 1 executable using the 3 libs
Configuration: svn7075, Windows 7

I define the function DoSomething in the library.
In the executable, when I use DoSomething, it is not recognized by the code completion. When I say "is not recognized", it means:
   - the name of the class, function or method does not appear in the list
   - when I use the menu command "Find Declaration of DoSomething", I get the message that the function cannot be found
   - I do not have tooltip for parameter list.

The problem is random, and does not happen for all symbols.

I am unable to reproduce the problem on a simple workspace.
Since my project is a bit large (800 000 lines of code, roughly), I believe that I may have hit a limitation in total amount of symbols (not sure if it is that, thought).

I have tried to enable the settings / editor / Code Completion / C++ Parser / "Forced to use 1 parser per whole workspace", but it is worse: the code completion does not work anymore.

Do you have any tips  ?

Best regards,

Sebastien

PS: I will try to make a minimal example reproducing the problem, if I can. For now, I did not succeed.

oBFusCATed:
Have you tried one of the latest nightlies?
I think a new feature have been implemented to parse all projects in the workspace.
The older version parsed only the current active project.

seb_seb0:

--- Quote from: oBFusCATed on May 02, 2011, 09:42:22 pm ---Have you tried one of the latest nightlies?
I think a new feature have been implemented to parse all projects in the workspace.
The older version parsed only the current active project.

--- End quote ---

That was fast !
I am using the last nightly (svn 7075) on Windows 7 (sorry, I forgot to say that)

oBFusCATed:
Hm, probably this is a bug.

The is "Maximum allowed parsers", option, have you tried to increase it?

Loaden, Ollydbg: what is the purpose of this option?

seb_seb0:

--- Quote from: oBFusCATed on May 02, 2011, 10:05:22 pm ---The is "Maximum allowed parsers", option, have you tried to increase it?

Loaden, Ollydbg: what is the purpose of this option?

--- End quote ---

Currently, it is set to 5.
I will try with different values (1,2 and 10 for a start). I will report back. Meanwhile, if you have other tips, do not hesitate !

Navigation

[0] Message Index

[#] Next page

Go to full version