Trash & Restore
beginner conceptsEditor Doctor Pro · Core Concepts
Trash & Restore
The Trash window is the destination for every soft-delete EDP performs. Every asset moved by Safe Delete goes there, never to a hard-delete. You can restore at any time, browse old entries by date, and (manually) purge entries you are sure you no longer need.
Open it from Window > Kronnect > Editor Doctor Pro > Trash.
Where the Trash lives
The Trash is a folder named .EditorDoctor/Trash/ at the root of your project (sibling to Assets/ and Library/). It is gitignored by default; the Trash is per-machine, not shared via version control.
Each move creates a timestamped entry under Trash/<ISO-timestamp>-<short-id>/ containing the asset and its .meta sidecar. The original path is stored in a per-entry manifest so the restore knows where to put each item back.
Window layout
- Toolbar - Refresh, Open Folder (reveals
.EditorDoctor/Trash/in Finder / Explorer), text search. - Entries table - one row per stashed asset. Columns: Type, Name, Original path, Stashed at, Size.
- Action buttons - Restore for the current selection, Purge to permanently remove the selected entries.
Restoring an asset
Select one or more rows and click Restore. EDP moves the asset (and its meta) back to its original path and refreshes the AssetDatabase. If the original path is now occupied (something else lives there), the restore stops on that row and reports a Conflict; the entry stays in the Trash so you can decide what to do.
Manual purge
The Trash never deletes itself. There is no auto-purge by age or by size in v1.0 - every entry stays until you explicitly purge it. The Settings window shows the current Trash size as a reference; if it grows too large, select entries you are confident about and click Purge to permanently remove them.
Folder format
Each entry directory is self-contained:
| File | Purpose |
|---|---|
manifest.json | Original path, stashed-at timestamp, asset GUID and meta GUID. |
asset (any extension) | The original asset bytes, unchanged. |
asset.meta | The original meta sidecar, unchanged. |
This format means an OS-level copy of the entry directory back into Assets/ works as a worst-case manual restore even if the EDP UI is unavailable.
Suggest an improvement
Help us improve this documentation page.