renaming top-level project dir and removing old caches

Hello,
A couple of related questions:
1. i renamed my project root dir, due to which the "reopen recent" stopped working (couldn't find the directory). hence: is there a changeable file that contains the recently opened project names where i can modify the project dir?
2. if not, as in this case, where i just did a "open project" and it's indexing all the millions of files and setting up the project all over again, is there a way to delete the old caches which are obviously mongo-big and not going to be used anymore? or better still, does intellij have some kind of batch process that will delete old caches that haven't been updated in a certain timeframe?
Thanks,
Nilesh

2 comments
Comment actions Permalink

1. There is a changeable file, but it's far faster simply to open your project at its new location than to go and change that file.

2. File | Invalidate Caches will delete the caches for all projects. There is no way to delete the caches for a specific project.

0
Comment actions Permalink

Thanks Dmitry. this particular project had so many maven modules under it that it took 30 mins just to read in and re-index all of the files, but i guess there was no choice.
the project-level cache invalidation might be a useful feature, unless my understanding of the intellij cache becoming very large over time is not a correct one...
Best,
Nilesh

0

Please sign in to leave a comment.