Author Topic: Autocomplete references the wrong project  (Read 3429 times)

Offline Wheels2050

  • Single posting newcomer
  • *
  • Posts: 2
Autocomplete references the wrong project
« on: October 16, 2012, 02:04:48 am »
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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Autocomplete references the wrong project
« Reply #1 on: October 16, 2012, 07:05:24 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Wheels2050

  • Single posting newcomer
  • *
  • Posts: 2
Re: Autocomplete references the wrong project
« Reply #2 on: October 18, 2012, 03:33:08 am »
OK, thanks - I'll do that.