Godot-proposals: Make true copy and paste as well as Ctrl+C, Crtl+X, Ctrl+V throughout the editor a thing

Created on 29 May 2020  路  4Comments  路  Source: godotengine/godot-proposals


See original issue: https://github.com/godotengine/godot/issues/27280
for a whole range of related open issues and feature requests.

Describe the project you are working on: Applies to all games and projects

Describe the problem or limitation you are having in your project:
I want to quickly, easily and intuitively select something in the editor copy it with Ctrl +C and paste it with Ctrl+V.
Current implementation is not consistent throughout the editor and often not even existing.
Sometimes you will find copy and paste only in a context menu, sometimes it's hidden in a drop down, sometimes it is called duplicate and not actually a true copy and paste, sometimes it copies as just reference, even though it says copy.

Ideally also supply the same usability for Ctrl+X and Crtl+D

Describe the feature / enhancement and how it helps to overcome the problem or limitation:
select thing -> copy (Crtl+C) -> go to paste location -> paste (Ctrl+V)

Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
image

If this enhancement will not be used often, can it be worked around with a few lines of script?:
I don't think so.

Is there a reason why this should be core and not an add-on in the asset library?:
Imho this not just needs to be build in, deep into the core, I think the core of the editor should be invested with this functionality.

editor

Most helpful comment

Hands down one of the most needed features in my opinion, it makes the workflow so much faster and natural to use. It's these little things that make my experience enjoyable when using an engine or any productive software for that matter.

Here's some spots that I wish to see this being implemented:
AnimationPlayers (individual elements and whole layers)
AnimationTree (animation blocks)
AnimatedSprite (individual images and animations)
TileMap (tilesets with all of their configurations)

All 4 comments

Related issue: https://github.com/godotengine/godot/issues/28120 (yes, I know they originally mentioned only the script editor, but I can't see editor-wide copy&paste without this functionality)

Just linking to the most recent PR implementing this feature in the Scene Tree, since it has been attempted several times already:
https://github.com/godotengine/godot/pull/34892

Hands down one of the most needed features in my opinion, it makes the workflow so much faster and natural to use. It's these little things that make my experience enjoyable when using an engine or any productive software for that matter.

Here's some spots that I wish to see this being implemented:
AnimationPlayers (individual elements and whole layers)
AnimationTree (animation blocks)
AnimatedSprite (individual images and animations)
TileMap (tilesets with all of their configurations)

I suggested it in the original issue but I'll post it again here for visibility.
Why not create a ClipboardManager class that manages all this independent from the platform_display_server? Every time something is CTRL+Ced we could send that data to ClipboardManager which will process it as needed depending on its type(text, node, scene, button, resource, animation, etc.).
It could even save the clipboard state on close as an extra feature if needed.

Was this page helpful?
0 / 5 - 0 ratings