News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Autocomplete references the wrong project

Started by Wheels2050, October 16, 2012, 02:04:48 AM

Previous topic - Next topic

Wheels2050

I've just started a new project (Project #1) in C::B, and have a class called "Game". Another of my projects (Project #2) also includes a class called "Game", but the two projects are completely unrelated.

However, in Project #1, when the autocomplete appears it includes functions and member variables from the "Game" classes of both projects. Obviously, this is somewhat annoying and confusing. Is there any way to avoid this?

I'm using C::B 10.05.

MortenMacFly

Quote from: Wheels2050 on October 16, 2012, 02:04:48 AM
Is there any way to avoid this?
Yes, use a nightly and setup CC to "one parser per project".
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Wheels2050