Trouble with code completion

General questions regarding the usage of CodeLite
frozen
CodeLite Curious
Posts: 7
Joined: Fri Jul 29, 2011 4:49 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Trouble with code completion

Post by frozen »

Thank you very much!

I already had gcc 4.5 installed. So I just changed the search paths of clang to the ones provided by "cpp-4.5 -x c++ -v /tmp/a.cpp" - and it immediately worked.

So the problem obviously was caused by gcc 4.6.
I don't intend to use any new features of gcc 4.6 yet so in my opinion you can use your time for more important things than fixing code completion for gcc 4.6.

I don't know, what the exact differences between clang and ctags are - but as long as it works I'll stay with the current settings. Never change a running system.. ;)

Again thank you very much for helping me so fast!

Greetings,

frozen
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Trouble with code completion

Post by eranif »

FYI:

code completion with gcc 4.6 can work once again with ctags (the default completion engine of codelite) by adding this line:

Code: Select all

_GLIBCXX_VISIBILITY(%0)
To:

Settings | Tags Settings | ctags | Advanced | Tokens

After adding the line, a full retag is needed:

Workspace | Retag Workspace (full)

Eran
Make sure you have read the HOW TO POST thread
frozen
CodeLite Curious
Posts: 7
Joined: Fri Jul 29, 2011 4:49 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Trouble with code completion

Post by frozen »

Seems to work very well!

Thank you very much, excellent work!

Kind regards,

frozen
Post Reply