godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.07k stars 69 forks source link

Restore the ability to remove project folder contents from the project manager #6824

Open michaldev opened 1 year ago

michaldev commented 1 year ago

Describe the project you are working on

Describe the problem or limitation you are having in your project

The functionality in Godot 4.0 for removing a project along with its directory was very convenient and useful. It allowed me to maintain order on disk when creating many test environments. I understand the reasons why it was removed in version 4.0.1 (or 4.0.2?). I have a proposal for how to preserve this functionality and eliminate the issues that arise with it.

It would be sufficient to enforce the creation of a project in an empty directory. This would prevent from creating projects in random locations and also prevent the creation of a project in a location that cannot be removed. This would also solve another problem of creating directories in random locations - some people ignore the warning and wonder why their project ended up in some main directory.

Popup asking whether to delete only the project from the list or together with the directory may still appear, just like in Godot 4.0.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Convenience

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Zrzut ekranu z 2023-06-12 14-27-49

If this enhancement will not be used often, can it be worked around with a few lines of script?

No. You can remove it manually (by system file manager or bash command). The proposal concerns the introduction of an improvement in the GUI.

Is there a reason why this should be core and not an add-on in the asset library?

To my knowledge, it is not possible to create an add-on that works in the project manager stage.

AThousandShips commented 1 year ago

All the questions must be filled in (you've been told this before), open a discussion if you are unable to follow this.

michaldev commented 1 year ago

The issue has been updated.