User forums > Using Code::Blocks

include autocomplete problem

(1/2) > >>

josh123:
I just started using Codeblocks and at first everything was working great. When I typed in include it would show suggestions for my /usr/include folder, but a little later I decided to add existing files to my project, and it made a header directory for the headers I wrote. Now when I try to include a file, it only gives me suggestions for the newly created header directory Codeblocks made. I checked the project properties and various other settings, and I added /usr/include in multiple areas, but still no success. Everything compiles and works; it finds the files I include, but it just does not autocomplete. I have been at this for about a week now, and it seems like there should be a simple solution can somebody please help. Thanks.
I am using Linux.

Alpha:
Is Settings->Editor...->Code completion "Enable headers code-completion" checked?

josh123:
I checked and I don't see a checkbox with "Enable headers code-completion". I am running CodeBlocks 10.05 on Debian Linux, i guess maybe the GUI is different. It still does code completion, but only for the header folder created for individual projects. Its kinda strange. Thanks for the quick reply though.

ollydbg:

--- Quote from: josh123 on November 25, 2011, 04:41:21 am ---I checked and I don't see a checkbox with "Enable headers code-completion". I am running CodeBlocks 10.05 on Debian Linux

--- End quote ---
10.05 version is too old, it does not have such feature.
I suggest you use a more recent nightly build version of c::b.

josh123:
I went to Jens repository and 10.05 seems to be the newest version. Do I have to download the source rather than a binary to get the latest version? When I installed code blocks I downloaded a tar.bz2 containing many .debs. I'm not sure .debs included the source but i change some file to get it to work.

Navigation

[0] Message Index

[#] Next page

Go to full version