I’m not a newbie on KiCad but I’m still confused by this feature(or maybe a bug?). When I delete a file from project tree, this file will be permanently deleted instead of just being removed from the project. I cannot even find it in the trash box. Any idea how can I find the file again if I happened to delete it by mistake?
KiCad doesn’t have any advanced concept of project. You can’t add or remove files. Everything is just OS level file management, and internally KiCad creates and opens files it needs or are called by name in other files or are explicitly named by the user.