You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem or limitation you are having in your project
Creating a file from clipboard contents could be more streamlined. Right now, you need to create a text file, open the script editor, paste clipboard contents then save.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
When pressing Ctrl + V with text content in the clipboard and the FileSystem dock is focused (regardless of current selection), create a file with the clipboard contents.
Additionally, once #2949 is implemented, the same functionality could be provided when image data is present in the clipboard.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Since the file name cannot be guessed from the clipboard contents alone, the user needs to be asked the destination file name. The popup's response path should be relative to the currently selected folder or file. If there are several files at different levels currently selected, the least specific path "wins" to determine the output directory.
For example, KDE's Dolphin file manager displays this popup after pressing Ctrl + V with text content in the clipboard:
If this enhancement will not be used often, can it be worked around with a few lines of script?
No.
Is there a reason why this should be core and not an add-on in the asset library?
While this may be implementable with an add-on, this is about improving editor usability and improving consistency with the OS file manager.
The text was updated successfully, but these errors were encountered:
Seems weird to me that Ctrl+V would create a text file. I'd expect that it pastes a previously copied file (from another directory or maybe from outside the project).
If anything, I'd use Ctrl+Shift+V. GIMP uses this shortcut for creating image from data.
Seems weird to me that Ctrl+V would create a text file. I'd expect that it pastes a previously copied file (from another directory or maybe from outside the project).
The system clipboard no longer holds previous data once you replace its contents with text. (X11 does have a notion of primary/secondary clipboard, where the primary clipboard can only hold text, but this is separate.)
Describe the project you are working on
The Godot editor 🙂
Describe the problem or limitation you are having in your project
Creating a file from clipboard contents could be more streamlined. Right now, you need to create a text file, open the script editor, paste clipboard contents then save.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
When pressing Ctrl + V with text content in the clipboard and the FileSystem dock is focused (regardless of current selection), create a file with the clipboard contents.
Additionally, once #2949 is implemented, the same functionality could be provided when image data is present in the clipboard.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Since the file name cannot be guessed from the clipboard contents alone, the user needs to be asked the destination file name. The popup's response path should be relative to the currently selected folder or file. If there are several files at different levels currently selected, the least specific path "wins" to determine the output directory.
For example, KDE's Dolphin file manager displays this popup after pressing Ctrl + V with text content in the clipboard:
If this enhancement will not be used often, can it be worked around with a few lines of script?
No.
Is there a reason why this should be core and not an add-on in the asset library?
While this may be implementable with an add-on, this is about improving editor usability and improving consistency with the OS file manager.
The text was updated successfully, but these errors were encountered: