How can I force parser to reparse the project?
Milian Wolff
mail at milianw.de
Tue Nov 18 11:34:40 GMT 2014
On Tuesday 18 November 2014 10:23:04 Kevin Funk 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?
>
> 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\}/
A simpler way to achieve this:
start KDevelop from the CLI and set CLEAR_DUCHAIN_DIR=1 environment variable:
CLEAR_DUCHAIN_DIR=1 kdevelop -s $your-session
Bye
--
Milian Wolff
mail at milianw.de
http://milianw.de
More information about the KDevelop
mailing list