Not sure when it was added, but Intellij now has a feature in the UI to delete old directories.
https://www.jetbrains.com/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#clean-up-old-ide-dirs
Not sure when it was added, but Intellij now has a feature in the UI to delete old directories.
https://www.jetbrains.com/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#clean-up-old-ide-dirs