Debugging tags issue

General questions regarding the usage of CodeLite
ironhead
CodeLite Enthusiast
Posts: 22
Joined: Mon Mar 30, 2009 3:15 pm
Contact:

Debugging tags issue

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugging tags issue

Post 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
Make sure you have read the HOW TO POST thread
ironhead
CodeLite Enthusiast
Posts: 22
Joined: Mon Mar 30, 2009 3:15 pm
Contact:

Re: Debugging tags issue

Post 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
ironhead
CodeLite Enthusiast
Posts: 22
Joined: Mon Mar 30, 2009 3:15 pm
Contact:

Re: Debugging tags issue

Post 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.
Post Reply