Page 1 of 1

Debugging tags issue

Posted: Fri Dec 03, 2010 7:05 pm
by ironhead
I'm not seeing any code completion beyond key words (i.e. switch, etc.) even though my tags paths are correct:

C:\MinGW\lib\gcc\mingw32\4.5.0\include\c++
C:\MinGW\lib\gcc\mingw32\4.5.0\include\c++\mingw32
C:\MinGW\lib\gcc\mingw32\4.5.0\include\c++\backward
C:\MinGW\include\
C:\MinGW\lib\gcc\mingw32\4.5.0\include
C:\MinGW\lib\gcc\mingw32\4.5.0\include-fixed

I'm also not seeing any code completion for the project itself.

Does codelite expect ctags.exe to be in the path somewhere? Is there a tags file I can look at to see what is getting populated? Are there any general tips on debugging tags related issues?

Thank you,

Chris

Re: Debugging tags issue

Posted: Fri Dec 03, 2010 10:19 pm
by eranif
ironhead wrote:Does codelite expect ctags.exe
No
ironhead wrote:I'm not seeing any code completion beyond key words (i.e. switch, etc.) even though my tags paths are correct:
Have you tried 'Ctrl-Space' ? codelite does not show automatically completion without it (unless set explicitly) or after -> . and ::

Also: Which version of codelite?

Eran

Re: Debugging tags issue

Posted: Sat Dec 04, 2010 8:32 am
by ironhead
ironhead wrote:I'm not seeing any code completion beyond key words (i.e. switch, etc.) even though my tags paths are correct:
Have you tried 'Ctrl-Space' ? codelite does not show automatically completion without it (unless set explicitly) or after -> . and ::
I've tried both Ctrl+Space as well as the 'Auto-Display wordcompletion-box on typing', I don't see any completion (other than keywords) with either.

I'm also testing on my 64-bit laptop using mingw-w64 gcc and having similar results.
Also: Which version of codelite?
2.8.0.4537

Re: Debugging tags issue

Posted: Sat Dec 04, 2010 8:48 am
by ironhead
Looks like it was a timing issue. I have most completions working now:

23:41:57: INFO: Found 131 system include files. 131 needed to be parsed. Stored 71592 new tags to the database
23:42:17: Failed to resolve std ::
23:44:56: Failed to resolve std ::
23:45:45: Failed to resolve Applet ::
23:45:58: Failed to resolve pApplet ->

NameSpace completion seems to be a bit problematic though.

Edit: Resolved the issue, I just needed to add additional paths for mingw-w64.