News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Code completion with multiple projects

Started by Envil, November 07, 2012, 09:38:25 PM

Previous topic - Next topic

Envil

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.

oBFusCATed

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!]

Envil

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 :)