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.
Asked
Active
Viewed 2,448 times
2 Answers
5
The right way to clear cache is starting KDevelop this way:
CLEAR_DUCHAIN_DIR=1 kdevelop

Zhigalin - Reinstate CMs
- 746
- 1
- 9
- 33
-
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
-
4Just to clarify: It's `~/.cache/kdevduchain` nowadays; `~/.kdevduchain` for older versions of KDevelop – kfunk Jan 03 '16 at 23:27