User forums > Using Code::Blocks

Code completion plugin

<< < (3/5) > >>

Game_Ender:
The code completion plugin is supposed to parse directories included in your project, but I can't seem to get it to work. It talks about your project and the compiler's "include directories", by this I assume it means the directories listed in "Directories/compiler" in the "Project's compiler options" dialog. Is this correct? I have the Ogre include directory as one of the compiler directories but it does not do any code completion related to external files, only one my project.  Am I doing something wrong?

Urxae:

--- Quote from: Game_Ender on August 01, 2005, 07:20:42 pm ---I have the Ogre include directory as one of the compiler directories but it does not do any code completion related to external files, only one my project.  Am I doing something wrong?

--- End quote ---
In Settings -> Plugins' settings -> Code completion, do you have "Follow GLOBAL includes" set? (I believe it's off by default because it takes a while to parse all that stuff)

Game_Ender:
Yes I have follow LOCAL and GLOBAL include checked, and all the cache options turned on.  Also, the newline characters don't work right for me, they just display as a tiny square.  I don't know if this may cause any issues but I installed codeblocks RC1 over top of my old one (final-beta 7).

rickg22:

--- Quote from: Game_Ender on August 01, 2005, 09:23:03 pm ---Also, the newline characters don't work right for me, they just display as a tiny square.  I don't know if this may cause any issues but I installed codeblocks RC1 over top of my old one (final-beta 7).

--- End quote ---

AH HAH!

OK, first of all, purge your codeblocks directory. (If you have your projects inside it, then it's an "uh-oh", because that's normally a wrong behavior :P )

Second, after installing CB, if it still doesn't work,
try disabling and-or enabling caching AND smartsense (I recall someone saying smartsense screwed up code completion). So, try with caching - smartsense both on, one on otherone off, etc until you try all the combinations.

Third - if you have caching enabled, purge the cache - might have become corrupted or something.

Hope that helps.

Game_Ender:
Thats doesn't work seem to work. So my guess is I don't have it setup right.  The code completion plugin is supposed to follow the include paths in  BuildOptions->Directories->Compiler.  Is there anyone who has gotten the code completion plugin to parse files not in their project?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version