Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remember directory folding state across restarts in the FileSystem dock #4789

Closed
deanrih opened this issue Jul 1, 2022 · 2 comments · Fixed by godotengine/godot#72277
Closed
Milestone

Comments

@deanrih
Copy link

deanrih commented Jul 1, 2022

Describe the project you are working on

A 2D side-scrolled turn-based game.

Describe the problem or limitation you are having in your project

Every time I open Godot Editor, I have to open the folder to where the last time I use/opened it from the last session, this is really tedious and annoying if you have a lot of folders or a lot of nested folders (mainly in terms of depth)

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

Make the Godot Editor retain or remember the status of all folders in the FileSystem from the previous session, whether the folder is opened or not from the previous and then apply it when you begin a new session or resume your work the next day.

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

This is the simplest sample of what FileSystem might look like when being worked on:
image

This is what FileSystem looked like whenever the Godot was opened, not remembering the state of the previous session:
image

The fix should make the editor open the FileSystem like this whenever a project is resumed:
Note that the picture below is the exact same picture as above, but what is important here is the Godot Editor remembers the state of the folders whether it is opened or not, retaining/remembering the selection state is not important and can be ignored.
image

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

As I'm not familiar with Editor scripting I'm not sure, but my guess is not, especially if you need to write those "few lines of script" into the main editor source code for this to happen.

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

This is an essential quality of life niceness that other editors do have, and it is quite annoying as you regularly need to open a folder to open some scene or script to edit them.

Unless I'm stupid and blind, I can't seem to find the settings for the editor to make this happen if there's one, if Godot actually has this feature already, feel free to close this issue and please guide me on how to enable this, and if it indeed exists and an opt-in feature, please consider making it the default behaviour, if it's already the default and it works as intended for other, I... don't know, maybe I need to re-install my Godot installation.

@Calinou
Copy link
Member

Calinou commented Jul 1, 2022

Unless I'm stupid and blind, I can't seem to find the settings for the editor to make this happen if there's one

This isn't implemented yet, so there is no setting for it.

@Calinou Calinou changed the title Make Godot Editor to retain/remember the states of folders in the FileSystem dock Remember directory folding state across restarts in the FileSystem dock Jul 1, 2022
@deanrih
Copy link
Author

deanrih commented Jul 1, 2022

Unless I'm stupid and blind, I can't seem to find the settings for the editor to make this happen if there's one

This isn't implemented yet, so there is no setting for it.

Ah I see, quite surprising that it hasn't been implemented yet, but I guess this is what the proposals are for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants