Skip to content

Clear cache, .import and data folders directly from Project Manager

Rafał Mikrut requested to merge github/fork/qarmin/clear_cache into master

Created by: qarmin

This PR add 3 buttons to clear cache, import and data folders which removing can help test projects. I usually removed these folders manually, but it is much easier to remove them from the project manager. You need to run editor with verbose (e.g. godot.x11.tools.64 -e -v) to see a list of cleared folders.

  1. Clear data - Clear all user data from projects - stored in user:// e.g. /home/rafal/.local/share/godot/app_userdata/PROJECT_NAME

  2. Clear import - Delete .import folder stored inside project folder e.g /home/rafal/Projekty/PROJECT_NAME/.import When you clear .import files, you will unable to run project from project manager. This button will be probably useless, when Godot automatically will remove unused and broken entries in .import.

  3. Clear cache - Clear godot editor cache and project cache e.g /home/rafal/.cache/godot - godot cache and /home/rafal/.config/godot/projects/PROJECT_NAME-32CHARACTERS

Also I centred labels in popups, because it looks for me better.

zrzut ekranu z 2019-02-14 17-21-22

Merge request reports