Retag option Grayed

CodeLite installation/troubleshooting forum
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Retag option Grayed

Post by evstevemd »

I'm experiencing issues with Autocomplete/Intellisense. My CL keep retagging project forever and I have to use force quit. When I start it again it grays retag option.
Clang is not working at all. It keeps complaining at missing wx include files which is a lie as I have specified in its paths. The problem started few days ago.

I have deleted config file but it returned. Updated to CL 4 from deb download the same issue! I'm running out of ideas, I need help :oops:
TIA,
Stefano

CodeLite 15.x
CodeLite is awesome, I just Love it!

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

Re: Retag option Grayed

Post by eranif »

evstevemd wrote:Clang is not working at all.
Did you follow the instructions of how to enable it? Basically, you need to compile your project a *full rebuild* and it will work.
If you did not do this, it will not work.

An indicatin that everything is working for you in clang, is that the compilation changes from:

Code: Select all

g++ -c file.cpp ...
to

Code: Select all

codelitegcc g++ -c file.cpp
evstevemd wrote:It keeps complaining at missing wx include files which is a lie as I have specified in its paths
You need to perform a full rebuild of your workspace
Please follow this page:
http://www.codelite.org/LiteEditor/ClangIntegration41
evstevemd wrote: Updated to CL 4 from deb download the same issue!
This only means that there is something else broken here

Have you tried deleting your local tags file?
Can you attach a debugger to codelite and print the backtrace?

Another option: enable codelite logging:
"Settings -> Global Editor Preferences -> Misc -> Log" and set it to "Debug"

You can see what it does when it "hangs"
the log file is under ~/.codelite/codelite.log

Eran
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Retag option Grayed

Post by evstevemd »

Hi Eran,
sorry for late reply. some stuffs interefered but I'm still suffering same problem. While Ctags does not work at all (retag option still greyed) Clang does not work too.
I have tried to do all suggested above but I seem to hit a wall! Here is part of debugger that I took out of that big file. Tell me if I should attach whole file but here is string containing error I'm getting

Code: Select all


[ 22:49:06:406 DBG ] Calling clang_codeCompleteAt... done
[ 22:49:06:406 DBG ] Found 517 matches
[ 22:49:06:406 DBG ] Completion diagnostic [4]: 'wx/setup.h' file not found
[ 22:49:06:421 DBG ] caching Translation Unit file: /path/to/files/in/project/acMgr.cpp, 0xa8cb2d88
[ 22:49:06:421 DBG ]  ==========> [ ClangPchMakerThread ] PCH creation ended successfully <==============
[ 22:49:15:583 DBG ]  ==========> ClangDriver::CodeCompletion() started <==============
[ 22:49:15:583 DBG ] DoPrepareCompilationArgs(): Project=Application, Conf=Debug
[ 22:49:15:584 DBG ] Loading compilation flags for file: /path/to/files/in/project/acMgr.cpp
[ 22:49:15:584 DBG ] Loaded compilation flags:
.........................................

CodeLite 15.x
CodeLite is awesome, I just Love it!

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

Re: Retag option Grayed

Post by eranif »

Hi,

Are you using any custom makefile in your project? or just standard codelite build?
Does your workspace reside on a NTFS? - if it does please move it to a regular file system

Anyways, can you please provide here the complete build log file (in order to make clang work, you need at least one full rebuild of your workspace)

Eran
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Retag option Grayed

Post by evstevemd »

eranif wrote:Hi,

Are you using any custom makefile in your project? or just standard codelite build?
Does your workspace reside on a NTFS? - if it does please move it to a regular file system

Anyways, can you please provide here the complete build log file (in order to make clang work, you need at least one full rebuild of your workspace)

Eran
Actually I use Ubuntu hence No NTFS! I use no custom makefile everything is standard and it used to work!
You do not have the required permissions to view the files attached to this post.

CodeLite 15.x
CodeLite is awesome, I just Love it!

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

Re: Retag option Grayed

Post by eranif »

evstevemd wrote:NTFS
Oops, I meant: NFS

Eran
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Retag option Grayed

Post by eranif »

I actually need your *build* log and codelite's log ;)

Eran
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Retag option Grayed

Post by evstevemd »

eranif wrote:
evstevemd wrote:NTFS
Oops, I meant: NFS

Eran
What is it? and where do I find build log?

CodeLite 15.x
CodeLite is awesome, I just Love it!

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

Re: Retag option Grayed

Post by eranif »

I need your *build* log.
Also, did you try moving your code to a directory without any spaces in the path?

Eran
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Retag option Grayed

Post by evstevemd »

eranif wrote:
Also, did you try moving your code to a directory without any spaces in the path?

Eran
Just did this and intellisense is back :D
Thank you a lot. Though now the IDE cannot quit until I use force quit (and hence loose current settings ) but I can currently live with that!
Thank you :)

CodeLite 15.x
CodeLite is awesome, I just Love it!

Post Reply