Odd stuff probably having to do with 'tags'

Discussion about CodeLite development process and patches
Gibbon1
CodeLite Expert
Posts: 167
Joined: Fri Jul 22, 2011 5:32 am
Genuine User: Yes
IDE Question: C++
Contact:

Odd stuff probably having to do with 'tags'

Post by Gibbon1 »

When I do things like, ask codelite to goto a definition, or include a header file I'll get a pop-up window asking me to resolve a file location.

Two things that seem annoying

One I'll be asked to chose between the two.

"C:\projects\merging\dual_radio\repeater\utils\event.h"
"c:\projects\merging\dual_radio\repeater\utils\event.h"

And also for reasons that escape me sometimes it'll refer to a file that is in two different workspaces, the current one, and another previously opened one.

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

Re: Odd stuff probably having to do with 'tags'

Post by eranif »

This looks like a messed up tags database. Try reparsing your workspace (Workspace -> retag workspace(full) )

Eran
Make sure you have read the HOW TO POST thread
Gibbon1
CodeLite Expert
Posts: 167
Joined: Fri Jul 22, 2011 5:32 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Odd stuff probably having to do with 'tags'

Post by Gibbon1 »

I deleted

.codelite/compilation.db
.codelite/%project%.tags
.codelite/refactoring.db

That seems to help a bunch.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Odd stuff probably having to do with 'tags'

Post by eranif »

BTW, you can safely remove the folder .codelite under your workspace - this will clean all the "local" workspace information
This is the reason I created it in a separate folder - so one can delete it without manually searching which files to delete

Eran
Make sure you have read the HOW TO POST thread
Gibbon1
CodeLite Expert
Posts: 167
Joined: Fri Jul 22, 2011 5:32 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Odd stuff probably having to do with 'tags'

Post by Gibbon1 »

Still saw the

C:\Blah\Blah.h
c:\Blah\Blah.h

Last night while poking away at things. Probably part of the 'problem' was copying a whole work space from one place to another. Though the 'c:\' vs 'C:\' is maybe another issue.

I hope I'm not being a bother, just mentioning odd stuff that causes me issues or seems klunky.
Post Reply