Skip to content

Add a button to duplicate a project in ProjectManager #2292

@me2beats

Description

@me2beats

Describe the project you are working on

Plugins

Describe the problem or limitation you are having in your project

I often duplicate projects, but I need to also change project name in project.godot almost each time to not get confused later.

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

The task above could be automated adding a Duplicate project button in ProjectManager

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

If I want to duplicate a project I could:

  1. Select the project in ProjectManager
  2. Press the Duplicate button (somewhere along with Edit/Run/Scan buttons)
  3. A popup would appear where I should specify new project name (and file name)

And done. The project is duplicated, appeared in project list and ready to be opened.

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

You could just do this manually or use some filesystem tools to automate this task but I think it wouldn't be so easy as the option above.

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

As for gdscript plugins — now it's impossible to get ProjectManager to add buttons or customize it some other way.
It could be a plugin like duplicate current project — but you need to open the project before duplicating it etc so this is not so convenient

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions