Author Topic: Code completion with multiple projects  (Read 2768 times)

Offline Envil

  • Single posting newcomer
  • *
  • Posts: 2
Code completion with multiple projects
« on: November 07, 2012, 09:38:25 pm »
Hi there,

I got a little issue with the code completion. When I have multiple projects open in the workspace then the code completion seems to parse all of them as if it was one project.
For example I have a global function main_loop() in one project, now if i type "main" in the other project I will be offered main_loop for completion although it does not exist in this project.
Is there any way to set code completion to only offer tokens from the project of the file I'm currently typing in? Or is closing all other projects the only way?

Thanks in advance.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code completion with multiple projects
« Reply #1 on: November 07, 2012, 09:41:58 pm »
What version of C::B are you running? In latest nightlies we have the "parse whole workspace option", you can try it.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Envil

  • Single posting newcomer
  • *
  • Posts: 2
Re: Code completion with multiple projects
« Reply #2 on: November 07, 2012, 10:28:46 pm »
I was using 10.05 on Arch Linux.
After compiling from svn it now works the way i want with a seperate parser for each project.

Thanks :)