Code::Blocks Forums

User forums => Help => Topic started by: Envil on November 07, 2012, 09:38:25 pm

Title: Code completion with multiple projects
Post by: Envil 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.
Title: Re: Code completion with multiple projects
Post by: oBFusCATed 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.
Title: Re: Code completion with multiple projects
Post by: Envil 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 :)