Fwd: Re: How can I force parser to reparse the project?

Kevin Funk kfunk at kde.org
Tue Nov 18 10:12:10 UTC 2014


Please reply-to-all instead of just me ;)

Forwarding to ML.

----------  Forwarded Message  ----------

Subject: Re: How can I force parser to reparse the project?
Date: Tuesday 18 November 2014, 11:41:08
From: Leon Pollak <leonp at plris.com>
To: Kevin Funk <kfunk at kde.org>

On Tuesday 18 November 2014 10:23:04 you wrote:
> On Tuesday 18 November 2014 11:06:26 Leon Pollak wrote:
> > Hello, all.
> > How can I force parser to reparse the project?
> > Thanks.
> 
> Normally this shouldn't be needed.
> What problems are you experiencing?
Thanks, Kevin.
There are several problems - one I reported with the test example and Aleix 
seems to receive it...:-)

Another problem is as following:
I have 2 different projects in two different directories, which have the same 
named files.
If I open both projects in the same session (on error, I try to keep opening 
different sessions), the parser makes cross-references.
Thus, even if I close everything and restart kdevelop and open the FIRST 
project, parser still provides definitions/declarations from the SECOND one.
This may cause very very unpleasant problems, as I thought that I am editing 
the first project, while actually I was editing some files from the second 
one.

> 
> There's a brute-force way to kill the cache, though:
> - Quit kdevelop
> - Run 'kdevelop -l', note the "Hash" of your session
> - rm ~/.cache/kdevduchain/kdevelop-$HASH, i.e.
>   rm ~/.cache/kdevduchain/kdevelop-\{97aab4af-0baf-4cf5-891e-9b2b8f49629e\}/
> 
> Greets

Thank you!
-- 
Leon

-----------------------------------------
-- 
Kevin Funk | kfunk at kde.org | http://kfunk.org


More information about the KDevelop-devel mailing list