5

I've been trying to browse a big codebase with KDevelop. I had to give up that but KDevelop has managed to generate 3GB of data in the project folder as a result of background parse. I want to delete all that is left of KDevelop as that project is in a virtual machine with little space. I just don't know where to look for files, even though they are so big.

Bubba88
  • 1,910
  • 20
  • 44

2 Answers2

5

The right way to clear cache is starting KDevelop this way:

CLEAR_DUCHAIN_DIR=1 kdevelop
  • Yeah, well some of us have more than one session. Some of us more than 10! I think you mean `CLEAR_DUCHAIN_DIR=1 kdevelop --pick-session` or even `CLEAR_DUCHAIN_DIR=1 kdevelop --open-session "{UID}"`? Also, THANK YOU! :D – Daniel Santos Aug 31 '23 at 20:17
2

Got an answer yesterday on KDevelop IRC. The generated files are somewhere unders ~/.cache so I have deleted the directory alltogether. With older KDevelop one has ~/.kdevuchain something but that's deprecated these days

Bubba88
  • 1,910
  • 20
  • 44
  • 4
    Just to clarify: It's `~/.cache/kdevduchain` nowadays; `~/.kdevduchain` for older versions of KDevelop – kfunk Jan 03 '16 at 23:27