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
I had to rename a few dozen resource files in my project, so I used the FileSystem dock.
I have to click the file name with the mouse, then press F2 to start the file rename editor. After making the change and pressing Enter, Godot renames the file, but the focus disappears from the FileSystem dock, so I have to use the mouse again to click the next file I wish to rename.
Instead, if the FileSystem dock kept the focus, I could use the cursor keys to move to the next file.
By the way, the FileSystem "split mode" is not consistent in this regard. I only use it on the default setting (a single window), but when the directory and file lists are separated, moving in the file list via the cursor is not possible anymore.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
The FileSystem should keep the focus, so I could use the cursor keys to move to the next file.
As an edge case, if there's an active filter and as the result of the renaming operation the file is no longer shown, the next file at the same pixel coordinates could get the focus, or, failing that, the closest directory.
Maybe it could be an EditorSettings preference to enable the retention of focus after file renames, maybe as a choice of behaviors:
Drop the focus (current behavior)
Focus the renamed file
Focused line keeps the focus
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
The gist of my request is that when the FileSystem dock is focused, it shouldn't lose the focus as result of a file renaming operation.
If this enhancement will not be used often, can it be worked around with a few lines of script?
I'm not familiar enough with editor modding to answer this.
Is there a reason why this should be core and not an add-on in the asset library?
I'd say this is a generic UX enhancement.
The text was updated successfully, but these errors were encountered:
Describe the project you are working on
Irrelevant.
Describe the problem or limitation you are having in your project
I had to rename a few dozen resource files in my project, so I used the FileSystem dock.
I have to click the file name with the mouse, then press F2 to start the file rename editor. After making the change and pressing Enter, Godot renames the file, but the focus disappears from the FileSystem dock, so I have to use the mouse again to click the next file I wish to rename.
Instead, if the FileSystem dock kept the focus, I could use the cursor keys to move to the next file.
By the way, the FileSystem "split mode" is not consistent in this regard. I only use it on the default setting (a single window), but when the directory and file lists are separated, moving in the file list via the cursor is not possible anymore.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
The FileSystem should keep the focus, so I could use the cursor keys to move to the next file.
As an edge case, if there's an active filter and as the result of the renaming operation the file is no longer shown, the next file at the same pixel coordinates could get the focus, or, failing that, the closest directory.
Maybe it could be an EditorSettings preference to enable the retention of focus after file renames, maybe as a choice of behaviors:
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
The gist of my request is that when the FileSystem dock is focused, it shouldn't lose the focus as result of a file renaming operation.
If this enhancement will not be used often, can it be worked around with a few lines of script?
I'm not familiar enough with editor modding to answer this.
Is there a reason why this should be core and not an add-on in the asset library?
I'd say this is a generic UX enhancement.
The text was updated successfully, but these errors were encountered: